MCPcopy Create free account
hub / github.com/axmolengine/axmol / removeUpdates

Method removeUpdates

tests/cpp-tests/Source/SchedulerTest/SchedulerTest.cpp:595–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

593}
594
595void SchedulerUpdate::removeUpdates(float /*dt*/)
596{
597 auto& children = getChildren();
598
599 for (auto&& c : children)
600 {
601 auto obj = static_cast<Object*>(c);
602 auto node = static_cast<Node*>(obj);
603
604 if (!node)
605 {
606 break;
607 }
608 node->unscheduleAllCallbacks();
609 }
610}
611
612std::string SchedulerUpdate::title() const
613{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected