The attack range. InappropriateUnitType - the unit is not a robot.
(&self)
| 435 | /// |
| 436 | /// * InappropriateUnitType - the unit is not a robot. |
| 437 | pub fn attack_range(&self) -> Result<u32, GameError> { |
| 438 | self.ok_if_robot()?; |
| 439 | Ok(self.attack_range) |
| 440 | } |
| 441 | |
| 442 | /// The movement heat. |
| 443 | /// |
nothing calls this directly
no test coverage detected