Whether the robot is ready to move. Tests whether the robot's attack heat is sufficiently low.
(&self, robot_id: UnitID)
| 1022 | /// Whether the robot is ready to move. Tests whether the robot's attack |
| 1023 | /// heat is sufficiently low. |
| 1024 | pub fn is_move_ready(&self, robot_id: UnitID) -> bool { |
| 1025 | self.ok_if_move_ready(robot_id).is_ok() |
| 1026 | } |
| 1027 | |
| 1028 | /// Moves the robot in the given direction. |
| 1029 | /// |
no test coverage detected