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

Detailed Description

action that simply waits for a set time

Inheritance diagram for CityBuilderCore.WaitAction:
CityBuilderCore.WalkerAction CityBuilderCore.RotateAction CityBuilderCore.WaitAnimatedAction

Public Member Functions

 WaitAction (float time)
 
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 Continue (Walker walker)
 called by the walker after the game has been loaded
 
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.WalkerAction
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

◆ Cancel()

override void CityBuilderCore.WaitAction.Cancel ( Walker walker)
inlinevirtual

called by the walker if the action was active when its process was canceled

Parameters
walkerthe walker performing this action

Reimplemented from CityBuilderCore.WalkerAction.

Reimplemented in CityBuilderCore.WaitAnimatedAction.

◆ Continue()

override void CityBuilderCore.WaitAction.Continue ( Walker walker)
inlinevirtual

called by the walker after the game has been loaded

Parameters
walkerthe walker performing this action

Reimplemented from CityBuilderCore.WalkerAction.

Reimplemented in CityBuilderCore.WaitAnimatedAction.

◆ Start()

override void CityBuilderCore.WaitAction.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.

Reimplemented in CityBuilderCore.WaitAnimatedAction.