| 73 | } |
| 74 | |
| 75 | void SceneController::update() |
| 76 | { |
| 77 | float currentTime = app::getElapsedSeconds(); |
| 78 | float deltaTime = currentTime - mLastStepTime; |
| 79 | |
| 80 | removeOffscreenGears(); |
| 81 | scrollIslands( deltaTime ); |
| 82 | |
| 83 | mWorld->Step( deltaTime, 8, 3 ); |
| 84 | |
| 85 | mLastStepTime = currentTime; |
| 86 | } |
| 87 | |
| 88 | void SceneController::setupWalls() |
| 89 | { |
nothing calls this directly
no test coverage detected