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

Method commandDirectorSubCommandStop

core/base/Console.cpp:1010–1015  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1008}
1009
1010void Console::commandDirectorSubCommandStop(socket_native_type /*fd*/, std::string_view /*args*/)
1011{
1012 auto director = Director::getInstance();
1013 Scheduler* sched = director->getScheduler();
1014 sched->runOnAxmolThread([]() { Director::getInstance()->stopAnimation(); });
1015}
1016
1017void Console::commandDirectorSubCommandStart(socket_native_type /*fd*/, std::string_view /*args*/)
1018{

Callers

nothing calls this directly

Calls 3

getInstanceFunction · 0.85
runOnAxmolThreadMethod · 0.80
stopAnimationMethod · 0.80

Tested by

no test coverage detected