/** * This is called every frame in BaseGame.start() * * @param interpolation unused in this implementation * @see AbstractGame#update(float interpolation) */ protected final void update(float interpolation) { // Recalculate the framerate. timer.update(); tpf = timer.getTimePerFrame(); // Update the current game state. GameStateManager.getInstance().update(tpf); }