Click or drag to resize
SpriteBasePushTowardSprite Method
Push this sprite toward a specified sprite.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual bool PushTowardSprite(
	SpriteBase Target,
	int Force
)

Parameters

Target
Type: (Default Namespace)SpriteBase
Sprite toward which this sprite is pushed.
Force
Type: SystemInt32
Acceleration force in tenths of a pixel per frame per frame.

Return Value

Type: Boolean
True if the sprite is pushed or false if the sprite is already overlapping the target.
See Also