| 142 | void Game::run() |
| 143 | { |
| 144 | enum ApplicationState { RUNNING = 0, SLOWED = 1, PAUSED = 2 } runningState = RUNNING; |
| 145 | static const ApplicationState kbFocusRun[4] = { RUNNING, RUNNING, SLOWED, PAUSED }; |
| 146 | static const ApplicationState stateRun[4] = { SLOWED, PAUSED, PAUSED, PAUSED }; |
| 147 | // this will avoid processing SDL's resize event on startup, workaround for the heap allocation error it causes. |
nothing calls this directly
no outgoing calls
no test coverage detected