Loading...
Searching...
No Matches
CityBuilderCore.IBarManager Interface Reference

Detailed Description

responsible for adding adding and removing visuals for building and walker values

Inheritance diagram for CityBuilderCore.IBarManager:
CityBuilderCore.DefaultBuildingManager

Public Member Functions

void ActivateBar (ViewBuildingBarBase view)
 activates a building bar and creates building value bars on every building that has the value
 
void DeactivateBar (ViewBuildingBarBase view)
 deactivates a building bar and destroys all the bars that were created
 
void ActivateBar (ViewWalkerBarBase view)
 activates a walker bar and creates building value bars on every walker that has the value
 
void DeactivateBar (ViewWalkerBarBase view)
 deactivates a walker bar and destroys all the bars that were created
 

Member Function Documentation

◆ ActivateBar() [1/2]

void CityBuilderCore.IBarManager.ActivateBar ( ViewBuildingBarBase view)

activates a building bar and creates building value bars on every building that has the value

Parameters
viewthe view that will be activated

Implemented in CityBuilderCore.DefaultBuildingManager.

◆ ActivateBar() [2/2]

void CityBuilderCore.IBarManager.ActivateBar ( ViewWalkerBarBase view)

activates a walker bar and creates building value bars on every walker that has the value

Parameters
viewthe view that will be activated

Implemented in CityBuilderCore.DefaultBuildingManager.

◆ DeactivateBar() [1/2]

void CityBuilderCore.IBarManager.DeactivateBar ( ViewBuildingBarBase view)

deactivates a building bar and destroys all the bars that were created

Parameters
viewthe view that will be deactivated

Implemented in CityBuilderCore.DefaultBuildingManager.

◆ DeactivateBar() [2/2]

void CityBuilderCore.IBarManager.DeactivateBar ( ViewWalkerBarBase view)

deactivates a walker bar and destroys all the bars that were created

Parameters
viewthe view that will be deactivated

Implemented in CityBuilderCore.DefaultBuildingManager.