Fikser returtype for getPowerDown

This commit is contained in:
Kristian Knarvik 2020-03-31 14:49:19 +02:00
parent cf3012b78f
commit b6c7f808d2

View File

@ -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();
}
/**