Updates the rocket as if it has launched by changing its location and marking it as used.
(&mut self)
| 1150 | /// Updates the rocket as if it has launched by changing its location and |
| 1151 | /// marking it as used. |
| 1152 | pub(crate) fn launch_rocket(&mut self) { |
| 1153 | self.location = InSpace; |
| 1154 | self.is_used = true; |
| 1155 | } |
| 1156 | |
| 1157 | /// Updates the rocket's location as if it has landed. |
| 1158 | pub(crate) fn land_rocket(&mut self, location: MapLocation) { |