CSS Logo XNACS1Lib Library Documentation
XNACS1Base.World.CollideWorldBound Method 

Game-Themed Introductory Programming Project   

Collide the inputPrimitive with the worldBound and return which of the worldBound (left/right/top/bottom or inside) did this primitive intersect with.

public static BoundCollideStatus CollideWorldBound(
   XNACS1Primitive inputPrimitive
);

Parameters

inputPrimitive
Primitive to be tested

Return Value

The side upon which the primitive has collided with (or if the primitive is inside the world bound).

See Also

XNACS1Base.World Class | XNACS1Lib Namespace