|
ClassicCityBuilderKit 1.9.4
|
reference to a building that is reset when a building gets replaced
never assign buildings directly when there is any chance they might be replaced
Public Member Functions | |
| BuildingReference (IBuilding building) | |
| BuildingMetaData | GetMetaData () |
Properties | |
| IBuilding | Instance [get] |
| the currently referenced building | |
| bool | HasInstance [get] |
| check if the building still exists or if it has been terminated | |
| Guid | Id [get] |
Events | |
| Action< IBuilding, IBuilding > | Replacing |
| fired during building replacement, both original and replacement exist at that point | |