ClassicCityBuilderKit 1.8.8
|
view that visualizes a walkers current energy in percent
Public Member Functions | |
bool | HasValue (Walker walker) |
whether the value even applies to the walker in question | |
float | GetMaximum (Walker walker) |
the maximum value this value may get to for example storage capacity for item quantities important for bars that use a ratio | |
float | GetValue (Walker walker) |
checks for the value the walker currently has | |
Vector3 | GetPosition (Walker walker) |
the world position that the value should be visualized at especially relevant for global values that are not created as a child of the walker | |
Public Member Functions inherited from CityBuilderCore.ViewWalkerBarBase | |
override void | Activate () |
override void | Deactivate () |
Public Member Functions inherited from CityBuilderCore.View | |
void | Activate () |
void | Deactivate () |
Properties | |
override IWalkerValue | WalkerValue [get] |
Properties inherited from CityBuilderCore.ViewWalkerBarBase | |
IWalkerValue | WalkerValue [get] |
Additional Inherited Members | |
Public Attributes inherited from CityBuilderCore.ViewWalkerBarBase | |
WalkerValueBar | Bar |
Public Attributes inherited from CityBuilderCore.View | |
string | Name |
float CityBuilderTown.TownViewWalkerEnergyBar.GetMaximum | ( | Walker | walker | ) |
the maximum value this value may get to
for example storage capacity for item quantities
important for bars that use a ratio
walker | the walker in question |
Implements CityBuilderCore.IWalkerValue.
Vector3 CityBuilderTown.TownViewWalkerEnergyBar.GetPosition | ( | Walker | walker | ) |
the world position that the value should be visualized at
especially relevant for global values that are not created as a child of the walker
walker | the walker in question |
Implements CityBuilderCore.IWalkerValue.
float CityBuilderTown.TownViewWalkerEnergyBar.GetValue | ( | Walker | walker | ) |
checks for the value the walker currently has
walker | the walker of which we want to know the value |
Implements CityBuilderCore.IWalkerValue.
bool CityBuilderTown.TownViewWalkerEnergyBar.HasValue | ( | Walker | walker | ) |
whether the value even applies to the walker in question
walker | the walker in question |
Implements CityBuilderCore.IWalkerValue.