|
ClassicCityBuilderKit 1.9.4
|
just puts the walker in an animation that shows it is working
in combination with TownWorkTask and TownWorkComponent this can drive a buildings efficiency
(for example in the Woodcutter which has a TownProductionComponent that uses that efficiency)
Public Member Functions | |
| TownWorkAction (string parameter) | |
| TownWorkAction (int parameter) | |
| override void | Start (Walker walker) |
| called by the walker when the action is first started, either by being first in a process or when the previous action has ended | |
| override void | Cancel (Walker walker) |
| called by the walker if the action was active when its process was canceled | |
Public Member Functions inherited from CityBuilderCore.AnimatedActionBase | |
| AnimatedActionBase (string parameter) | |
| AnimatedActionBase (int parameter) | |
| override void | Continue (Walker walker) |
| called by the walker after the game has been loaded | |
| override void | End (Walker walker) |
| called by the walker when this is the active action and the process advances do not call this directly, to end an action call Walker.AdvanceProcess | |
|
inlinevirtual |
called by the walker if the action was active when its process was canceled
| walker | the walker performing this action |
Reimplemented from CityBuilderCore.AnimatedActionBase.
|
inlinevirtual |
called by the walker when the action is first started, either by being first in a process or when the previous action has ended
| walker | the walker performing this action |
Reimplemented from CityBuilderCore.AnimatedActionBase.