ClassicCityBuilderKit 1.8.8
|
a building component that can be attacked
Public Member Functions | |
void | Attack (int damage) |
deals damage to the attackable, reducing its health and potentially destroying it | |
Additional Inherited Members | |
Properties inherited from CityBuilderCore.IBuildingTrait< IAttackable > | |
BuildingComponentReference< T > | Reference [get, set] |
reference to the building trait, use when the building might be replaced and when the reference has to be saved | |
void CityBuilderCore.IAttackable.Attack | ( | int | damage | ) |
deals damage to the attackable, reducing its health and potentially destroying it
damage | the amount of damage to do |
Implemented in CityBuilderCore.AttackableComponent.