| 134 | } |
| 135 | |
| 136 | bool SceneManager::OnBackKeyPressed() { |
| 137 | if (mHasGraphics && mCurScene) { |
| 138 | return mCurScene->OnBackKeyPressed(); |
| 139 | } |
| 140 | return false; |
| 141 | } |
| 142 | |
| 143 | void SceneManager::OnKeyDown(int ourKeycode) { |
| 144 | MY_ASSERT(ourKeycode >= 0 && ourKeycode < OURKEY_COUNT); |