Updates the structure as if it has unloaded a single unit from the structure, returning the unit ID.
(&mut self)
| 984 | /// Updates the structure as if it has unloaded a single unit from the |
| 985 | /// structure, returning the unit ID. |
| 986 | pub(crate) fn unload_unit(&mut self) -> UnitID { |
| 987 | self.garrison.remove(0) |
| 988 | } |
| 989 | |
| 990 | // ************************************************************************ |
| 991 | // ************************** FACTORY METHODS ***************************** |