walks to an IItemGiver and gives items to the walker
|
|
| ItemsGiverAction (Walker walker, ItemQuantity items, float maxDistance, bool reserve) |
| |
|
| ItemsGiverAction (ItemQuantity items, IItemGiver itemGiver, WalkingPath walkingPath, bool reserve) |
| |
| 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
|
| |
| 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
|
| |
|
void | OnBeforeSerialize () |
| |
|
void | OnAfterDeserialize () |
| |
◆ Cancel()
| override void CityBuilderCore.ItemsGiverAction.Cancel |
( |
Walker | walker | ) |
|
|
inlinevirtual |
called by the walker if the action was active when its process was canceled
- Parameters
-
| walker | the walker performing this action |
Reimplemented from CityBuilderCore.WalkerAction.
◆ Continue()
| override void CityBuilderCore.ItemsGiverAction.Continue |
( |
Walker | walker | ) |
|
|
inlinevirtual |
called by the walker after the game has been loaded
- Parameters
-
| walker | the walker performing this action |
Reimplemented from CityBuilderCore.WalkerAction.
◆ End()
| override void CityBuilderCore.ItemsGiverAction.End |
( |
Walker | walker | ) |
|
|
inlinevirtual |
◆ Start()
| override void CityBuilderCore.ItemsGiverAction.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
-
| walker | the walker performing this action |
Reimplemented from CityBuilderCore.WalkerAction.