SpriteBaseReactToPush Method |
Alter the velocity of this sprite to plan to move out of the way of sprites in Pushers
if this sprite is obstructing sprites in Pushers.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public virtual bool ReactToPush(
SpriteCollection Pushers
)
Parameters
- Pushers
- Type: (Default Namespace)SpriteCollection
Sprites that can push this sprite.
Return Value
Type:
BooleanTrue if the sprite was pushed, false otherwise.
See Also