mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-03-04 09:09:46 +01:00
Fikser noen småfeil i makeMove()
This commit is contained in:
parent
30a2379544
commit
d51deaf29e
@ -141,14 +141,14 @@ public class RoboRallyGame implements IDrawableGame {
|
||||
sleep();
|
||||
switch (action) {
|
||||
case MOVE_1:
|
||||
moveForward(robotID);
|
||||
gameBoard.moveRobotForward(robotID);
|
||||
break;
|
||||
case MOVE_2:
|
||||
moveForward(robotID);
|
||||
gameBoard.moveRobotForward(robotID);
|
||||
moveForward(robotID);
|
||||
break;
|
||||
case MOVE_3:
|
||||
moveForward(robotID);
|
||||
gameBoard.moveRobotForward(robotID);
|
||||
moveForward(robotID);
|
||||
moveForward(robotID);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user