mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-06-08 22:51:36 +02:00
1.3 KiB
1.3 KiB
PathfindAction
Namespace: TinyLife > Actions
Assembly: Tiny Life.dll
Implements IGenericDataHolder
Summary
A pathfinding action is an action that first finds a path and then allows that path to be traversed. The pathfinding is done using MLEM.Pathfinding.AStar2
.
Constructors
Name | Summary |
---|---|
PathfindAction ( ActionType , ActionInfo ) |
Properties
Type | Name | Summary |
---|---|---|
Stack<Point> | Path | The path that this action has found. WHen TinyLife.Actions.PathfindAction.OnPathReady is called, this has a value. |
Methods
Return | Name | Summary |
---|---|---|
void | Initialize ( ) | |
CompletionType | IsCompleted ( ) | |
void | OnCompleted ( CompletionType ) |
|
void | Update ( GameTime , TimeSpan , GameSpeed ) |
|
Boolean | Validate ( Person ) |