fikset inputen i runPhase fra 1-5 til 0-4 for å fikse indexOutOfBounds error

This commit is contained in:
Tobydrama 2020-03-25 12:58:23 +01:00
parent e67c78e348
commit 7e2b6907af

View File

@ -165,11 +165,11 @@ public class RoboRallyGame implements IDrawableGame {
*/
private void runGameLoop() throws InterruptedException {
TimeUnit.SECONDS.sleep(3);
runPhase(0);
runPhase(1);
runPhase(2);
runPhase(3);
runPhase(4);
runPhase(5);
}
/**