mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
Setter skade til 2 når roboter blir gjenopplivet
This commit is contained in:
parent
b5be1ac787
commit
1d7ee02f59
@ -328,6 +328,7 @@ public class Board {
|
||||
if (robot.getAmountOfLives() > 0) {
|
||||
robot.setPosition(robot.getBackupPosition());
|
||||
robot.setFacingDirection(Direction.NORTH);
|
||||
robot.setDamageTaken(2);
|
||||
robots.put(robot.getRobotId(), robot);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user