|
ClassicCityBuilderKit 1.9.4
|
Public Member Functions | |
| bool | HasValue (IBuilding building) |
| whether the value even applies to the building in question | |
| float | GetMaximum (IBuilding building) |
| the maximum value this value may get to important for bars that use a ratio | |
| float | GetValue (IBuilding building) |
| checks for the value the building currently has | |
| Vector3 | GetPosition (IBuilding building) |
| the world position that the value should be visualized at especially relevant for global values that are not created as a child of the building | |
Public Member Functions inherited from CityBuilderCore.ViewBuildingBarBase | |
| override void | Activate () |
| override void | Deactivate () |
Public Member Functions inherited from CityBuilderCore.View | |
| void | Activate () |
| void | Deactivate () |
Properties | |
| override IBuildingValue | BuildingValue [get] |
Properties inherited from CityBuilderCore.ViewBuildingBarBase | |
| IBuildingValue | BuildingValue [get] |
Additional Inherited Members | |
Public Attributes inherited from CityBuilderCore.ViewBuildingBarBase | |
| BuildingValueBar | Bar |
Public Attributes inherited from CityBuilderCore.View | |
| string | Name |
| float CityBuilderCore.ViewBuildingHealthBar.GetMaximum | ( | IBuilding | building | ) |
the maximum value this value may get to
important for bars that use a ratio
| building | the building in question |
Implements CityBuilderCore.IBuildingValue.
| Vector3 CityBuilderCore.ViewBuildingHealthBar.GetPosition | ( | IBuilding | building | ) |
the world position that the value should be visualized at
especially relevant for global values that are not created as a child of the building
| building | the building in question |
Implements CityBuilderCore.IBuildingValue.
| float CityBuilderCore.ViewBuildingHealthBar.GetValue | ( | IBuilding | building | ) |
checks for the value the building currently has
| building | the building of which we want to know the value |
Implements CityBuilderCore.IBuildingValue.
| bool CityBuilderCore.ViewBuildingHealthBar.HasValue | ( | IBuilding | building | ) |
whether the value even applies to the building in question
| building | the building in question |
Implements CityBuilderCore.IBuildingValue.