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

Method getEntry

Source/Basic/Director.cpp:97–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97Node* Director::getEntry() {
98 if (!_entry) {
99 _root = Node::create(false);
100 _root->setAnchor(Vec2::zero);
101 _root->onEnter();
102 _entry = Node::create(false);
103 _root->addChild(_entry);
104 markDirty();
105 }
106 return _entry;
107}
108
109Node* Director::getPostNode() {
110 if (!_postNode) {

Callers 1

director_get_entryFunction · 0.80

Calls 5

markDirtyFunction · 0.85
setAnchorMethod · 0.80
createFunction · 0.50
onEnterMethod · 0.45
addChildMethod · 0.45

Tested by

no test coverage detected