The number of rounds the rocket travel time is reduced by compared to the travel time determined by the orbit of the planets. InappropriateUnitType - the unit is not a rocket.
(&self)
| 1129 | /// |
| 1130 | /// * InappropriateUnitType - the unit is not a rocket. |
| 1131 | pub fn rocket_travel_time_decrease(&self) -> Result<u32, GameError> { |
| 1132 | self.ok_if_unit_type(Rocket)?; |
| 1133 | Ok(self.travel_time_decrease) |
| 1134 | } |
| 1135 | |
| 1136 | /// Ok if the rocket can launch. It must be built, and it must have |
| 1137 | /// not been used yet. |
no test coverage detected