MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / cleanup

Method cleanup

Source/Node/TileNode.cpp:459–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457}
458
459void TileNode::cleanup() {
460 if (_flags.isOff(Node::Cleanup)) {
461 Node::cleanup();
462 _effect = nullptr;
463 _tmxDef = nullptr;
464 _tileQuads.clear();
465 _animatedTiles.clear();
466 _animations.clear();
467 }
468}
469
470bool TileNode::update(double deltaTime) {
471 if (isUpdating()) {

Callers 1

createMethod · 0.45

Calls 3

cleanupFunction · 0.85
isOffMethod · 0.80
clearMethod · 0.65

Tested by

no test coverage detected