Click or drag to resize
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
C#
public virtual bool TestCollisionRect(
	SpriteBase TargetSprite
)

Parameters

TargetSprite
Type: (Default Namespace)SpriteBase
Sprite against which planned overlap is checked.

Return Value

Type: Boolean
True if the sprite will overlap TargetSprite.
See Also