CSS Logo XNACS1Lib Library Documentation
XNACS1Primitive.Above Method 

Game-Themed Introductory Programming Project   

Returns if the center of this primitive is "above" (in y) in relation to the center of otherPrimitive.

public bool Above(
   XNACS1Primitive otherPrimitive
);

Parameters

otherPrimitive
the other primitive.

Return Value

True: if the center's y value of this primitive is greater than the y value of the max bound of otherPrimitive, returns false otherwise.

See Also

XNACS1Primitive Class | XNACS1Lib Namespace