ClassicCityBuilderKit 1.8.8
|
manages the tool activation and tool cost
Public Member Functions | |
void | ActivateTool (BaseTool tool) |
deactivate the currently active tool and activate the new one | |
void | DeactivateTool (BaseTool tool) |
deactivate the currently active tool if it is the one passed | |
int | GetCost (Item item) |
checks the active tool for any item costs that should be shown as a previous for example building costs while the building tool is active | |
Properties | |
BaseTool | ActiveTool [get] |
the currently active tool or null when none | |
void CityBuilderCore.IToolsManager.ActivateTool | ( | BaseTool | tool | ) |
deactivate the currently active tool and activate the new one
tool | the tool that will become active |
Implemented in CityBuilderCore.ToolsManager.
void CityBuilderCore.IToolsManager.DeactivateTool | ( | BaseTool | tool | ) |
deactivate the currently active tool if it is the one passed
tool | the tool to deactivate |
Implemented in CityBuilderCore.ToolsManager.
int CityBuilderCore.IToolsManager.GetCost | ( | Item | item | ) |
checks the active tool for any item costs that should be shown as a previous
for example building costs while the building tool is active
item | the item for which to check cost |
Implemented in CityBuilderCore.ToolsManager.
|
get |
the currently active tool or null when none
Implemented in CityBuilderCore.ToolsManager.