SpriteBaseTestCollisionRect Method (SpriteBase) |
Determine if this sprite is planning to overlap the target sprite.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public virtual bool TestCollisionRect(
SpriteBase TargetSprite
)
Parameters
- TargetSprite
- Type: (Default Namespace)SpriteBase
Sprite against which planned overlap is checked.
Return Value
Type:
BooleanTrue if the sprite will overlap TargetSprite.
See Also