Click or drag to resize
SpriteBasePushSprite Method
Alter the velocity of TargetSprite to plan to move out of the way of this sprite if TargetSprite is obstructing this sprite.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual bool PushSprite(
	SpriteBase TargetSprite
)

Parameters

TargetSprite
Type: (Default Namespace)SpriteBase
Sprite whose velocity may be affected.

Return Value

Type: Boolean
True if the sprite was pushed, false otherwise.
See Also