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

Method onEnter

core/2d/Transition.cpp:187–199  ·  view source on GitHub ↗

custom onEnter

Source from the content-addressed store, hash-verified

185
186// custom onEnter
187void TransitionScene::onEnter()
188{
189 Scene::onEnter();
190
191 // disable events while transitions
192 _eventDispatcher->setEnabled(false);
193
194 // outScene should not receive the onEnter callback
195 // only the onExitTransitionDidStart
196 _outScene->onExitTransitionDidStart();
197
198 _inScene->onEnter();
199}
200
201// custom onExit
202void TransitionScene::onExit()

Callers 1

initWithDurationMethod · 0.45

Calls 15

initScenesMethod · 0.95
actionMethod · 0.95
easeActionWithActionMethod · 0.95
createFunction · 0.85
getChildByTagFunction · 0.85
actionFunction · 0.85
Vec2Class · 0.70
setEnabledMethod · 0.45
setScaleMethod · 0.45
setAnchorPointMethod · 0.45
runActionMethod · 0.45

Tested by

no test coverage detected