Loading...
Searching...
No Matches
CityBuilderCore.BuildingServicesBar Class Reference

Detailed Description

visualizes services by displaying their icon if it is accessible

https://citybuilder.softleitner.com/manual

Inheritance diagram for CityBuilderCore.BuildingServicesBar:
CityBuilderCore.BuildingValueBar

Public Member Functions

override void Initialize (IBuilding building, IBuildingValue value)
 
- Public Member Functions inherited from CityBuilderCore.BuildingValueBar
bool HasValue ()
 
float GetMaximum ()
 
float GetValue ()
 
Vector3 GetPosition ()
 
float GetRatio ()
 

Public Attributes

SpriteRenderer Prefab
 
Vector3 Offset
 

Additional Inherited Members

- Protected Attributes inherited from CityBuilderCore.BuildingValueBar
IBuilding _building
 
IBuildingValue _value
 
- Properties inherited from CityBuilderCore.BuildingValueBar
IBuilding Building [get]
 
virtual bool IsGlobal [get]
 

Member Function Documentation

◆ Initialize()

override void CityBuilderCore.BuildingServicesBar.Initialize ( IBuilding building,
IBuildingValue value )
inlinevirtual

Reimplemented from CityBuilderCore.BuildingValueBar.