CSS Logo XNACS1Lib Library Documentation
XNACS1Primitive.Collided Method

Game-Themed Introductory Programming Project   

Determines if this primitive collides with otherPrimitive.

Overload List

Determines if this primitive collides with otherPrimitive.

public bool Collided(XNACS1Primitive);

Determines if this primitive collides with the otherPrimitive. If true, pos is the colliding position.

public bool Collided(XNACS1Primitive,Vector2);

See Also

XNACS1Primitive Class | XNACS1Lib Namespace