1
0
mirror of https://github.com/inf112-v20/Fiasko.git synced 2025-07-04 23:24:43 +02:00

endret hvilket screen den går til

This commit is contained in:
Tobydrama
2020-04-16 15:01:35 +02:00
parent 7a14526e8e
commit 5d5b221de4

@ -80,6 +80,9 @@ public class BoardActiveScreen extends AbstractScreen implements InputProcessor
if (roboRallyWrapper.roboRallyGame.getGameState() == GameState.GAME_IS_WON) {
roboRallyWrapper.setScreen(roboRallyWrapper.screenManager.getWinnerScreen(roboRallyWrapper));
}
else if (roboRallyWrapper.roboRallyGame.getGameState() == GameState.CHOOSING_STAY_IN_POWER_DOWN){
roboRallyWrapper.setScreen(roboRallyWrapper.screenManager.getPowerDownScreen(roboRallyWrapper));
}
}
@Override