MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / AltDirector

Class AltDirector

Source/AltDirector.h:23–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22
23class AltDirector : public ax::Director {
24public:
25 static AltDirector* getInstance() {
26 return (AltDirector*)ax::Director::getInstance();
27 }
28
29 // Director have this variables in "protected", so i did this class to use them
30 ax::Vector<ax::Scene*> getScenesStack() {
31 return Director::_scenesStack;
32 }
33 void setSendCleanupToScene(bool cleanupToScene) {
34 ax::Director::_sendCleanupToScene = cleanupToScene;
35 }
36};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected