CSS Logo XNACS1Lib Library Documentation
XNACS1Primitive.TravelPrimitive Method 

Game-Themed Introductory Programming Project   

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

public virtual void TravelPrimitive();

See Also

XNACS1Primitive Class | XNACS1Lib Namespace | Visible | ShouldTravel | HasNonZeroVelocity