mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
Fikser returtype for getPowerDown
This commit is contained in:
parent
cf3012b78f
commit
b6c7f808d2
@ -148,8 +148,8 @@ public class Board {
|
||||
* Gets the power down status of the robot
|
||||
* @param robotID The robot id of the robot
|
||||
*/
|
||||
public void getPowerDown(RobotID robotID) {
|
||||
robots.get(robotID).isInPowerDown();
|
||||
public boolean getPowerDown(RobotID robotID) {
|
||||
return robots.get(robotID).isInPowerDown();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user