Loading...
Searching...
No Matches
CityBuilderTown.TownSignalAction Class Reference

Detailed Description

walker action that just sends a signal in the form of a text key to the walkers current task
may be used to signal to the task that a certain stage of the process has been reached

Inheritance diagram for CityBuilderTown.TownSignalAction:
CityBuilderCore.WalkerAction

Public Member Functions

 TownSignalAction (string key)
 
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
 
- Public Member Functions inherited from CityBuilderCore.WalkerAction
virtual void Continue (Walker walker)
 called by the walker after the game has been loaded
 
virtual void Cancel (Walker walker)
 called by the walker if the action was active when its process was canceled
 
virtual 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
 

Member Function Documentation

◆ Start()

override void CityBuilderTown.TownSignalAction.Start ( Walker walker)
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

Parameters
walkerthe walker performing this action

Reimplemented from CityBuilderCore.WalkerAction.