Whether this structure has been built. InappropriateUnitType - the unit is not a structure.
(&self)
| 908 | /// |
| 909 | /// * InappropriateUnitType - the unit is not a structure. |
| 910 | pub fn structure_is_built(&self) -> Result<bool, GameError> { |
| 911 | self.ok_if_structure()?; |
| 912 | Ok(self.is_built) |
| 913 | } |
| 914 | |
| 915 | /// The max capacity of a structure. |
| 916 | /// |
no test coverage detected