PlanBaseFollowPath Method |
Cause the specified sprite to follow the coordinates in this plan as a path.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public virtual void FollowPath(
SpriteBase Sprite,
ref int CoordinateIndex,
ref int WaitCounter
)
Parameters
- Sprite
- Type: (Default Namespace)SpriteBase
Sprite that will follow this plan's path. - CoordinateIndex
- Type: SystemInt32
0-based index of the coordinate in this plan toward which the sprite is currently heading. This is usually a parameter of the sprite. - WaitCounter
- Type: SystemInt32
Counter that tracks how long a sprite has waited at a particular coordinage. This is usualyl a parameter of the sprite.
Remarks See Also