PlanBasePushSpriteTowardCoordinate Method |
Alter the velocity of the specified sprite to go toward a coordinate associated with the current plan.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public virtual void PushSpriteTowardCoordinate(
SpriteBase Sprite,
int CoordinateIndex,
int Force
)
Parameters
- Sprite
- Type: (Default Namespace)SpriteBase
Sprite whose velocity will be affected - CoordinateIndex
- Type: SystemInt32
Indicates the 0-based index of the coordinate in the current plan toward which the sprite will be pushed - Force
- Type: SystemInt32
How hard to push the sprite in tenths of a pixel per frame per frame
Remarks Examples See Also