CSS Logo XNACS1Lib Library Documentation
XNACS1Circle Methods

Game-Themed Introductory Programming Project   

The methods of the XNACS1Circle class are listed below. For a complete list of XNACS1Circle class members, see the XNACS1Circle Members topic.

Public Instance Methods

Above (inherited from XNACS1Primitive) Returns if the center of this primitive is "above" (in y) in relation to the center of otherPrimitive.
AddToAutoDrawSet (inherited from XNACS1Primitive) Add this primitive to the AutoDrawSet. If this primitive already exists in the draw set, this function call is ignored. By default, all primitive are added into the AutoDrawSet.
Below (inherited from XNACS1Primitive) Returns if the center of this primitive is "below" (in y) in relation to the center of otherPrimitive.
Collided (inherited from XNACS1Primitive)Overloaded. Determines if this primitive collides with the otherPrimitive. If true, pos is the colliding position.
Draw (inherited from XNACS1Primitive) If visible, draws the primitive with the associated text label.
HasNonZeroVelocity (inherited from XNACS1Primitive) Retruns if the current velocity is non-zero.
IsInAutoDrawSet (inherited from XNACS1Primitive) Determines if this primitive is in the AutoDrawSet.
LeftOf (inherited from XNACS1Primitive) Returns if the center of this primitive is "to the left" (in x) in relation to the center of otherPrimtive
RemoveFromAutoDrawSet (inherited from XNACS1Primitive) Remove this primitive from the AutoDrawSet. After this function call, this primitive will not be drawn in the application window.
RightOf (inherited from XNACS1Primitive) Returns if the center of this primitive is "to the right" (in x) in relation to the center of otherPrimitive
TopOfAutoDrawSet (inherited from XNACS1Primitive) Make sure this primitive is drawn on top of all other primitives.
TravelPrimitive (inherited from XNACS1Primitive) Moves the primitive during each update cycle. This function is automacially called for all visible primitives. Default behavior is to move the primitive if: . Primitive is visible (invivislble primitive is not updated) . ShouldTravel is true . HasNonZeroVelocity() is true

Protected Instance Methods

DrawPrimitive Draws the circle.

See Also

XNACS1Circle Class | XNACS1Lib Namespace