mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
la til en function som lar deg sett powerdown til en spill sin robot
This commit is contained in:
parent
2430ee22a1
commit
92cf618330
@ -437,4 +437,13 @@ public class RoboRallyGame implements IDrawableGame {
|
||||
player.setPowerDownNextRound(false);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* sets the powerdown status of a robots
|
||||
* @param player the player that owns the robot
|
||||
* @param powerdownStatus the powerdown status
|
||||
*/
|
||||
private void setRobotPowerDown(Player player,Boolean powerdownStatus){
|
||||
gameBoard.setPowerDown(player.getRobotID(),powerdownStatus);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user