PlanBasePushSpriteTowardSprite Method |
Push the specified Source sprite toward the specified Target sprite.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public virtual bool PushSpriteTowardSprite(
SpriteBase Source,
SpriteBase Target,
int Force
)
Parameters
- Source
- Type: (Default Namespace)SpriteBase
Sprite to push. - Target
- Type: (Default Namespace)SpriteBase
Sprite toward which to push. - Force
- Type: SystemInt32
Acceleration in tenths of a pixel per frame per frame.
Return Value
Type:
BooleanTrue if the sprite is pushed, false if the sprites are already a the same location.
See Also