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

Method runWithScene

core/base/Director.cpp:811–819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

809// scene management
810
811void Director::runWithScene(Scene* scene)
812{
813 AXASSERT(scene != nullptr,
814 "This command can only be used to start the Director. There is already a scene present.");
815 AXASSERT(_runningScene == nullptr, "_runningScene should be null");
816
817 pushScene(scene);
818 startAnimation();
819}
820
821void Director::replaceScene(Scene* scene)
822{

Calls

no outgoing calls

Tested by

no test coverage detected