custom onEnter
| 185 | |
| 186 | // custom onEnter |
| 187 | void 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 |
| 202 | void TransitionScene::onExit() |
no test coverage detected