CSS Logo XNACS1Lib Library Documentation
XNACS1PrimitiveSet Class

Game-Themed Introductory Programming Project   

XNACS1PrimitiveSet supports hiding/unhiding a collection of Primitives (Circle, or Rectangle).

For a list of all members of this type, see XNACS1PrimitiveSet Members.

System.Object
   XNACS1PrimitiveSet

public class XNACS1PrimitiveSet

Remarks

This class is designed to be used where related primitives can be added/removed from the AutoDrawSet as a group. Typically, you would insert related primitives (e.g., all primitives associated with a car) into a PrimitiveSet. By default all the prmitives in the PrimitiveSet will be drawn in the application window. When required to hide this group of primitives (e.g., car moved out of world bound), you can remove the PrimitiveSet from the AutoDrawSet resutling in hiding all the primitives inthe set. Later on, you can add this PrimitiveSet back into the AutoDrawSet to unhide the primitives (e.g., the car moved back into the world bound). Removing all primitives from this set will result in the primitives being removed from the AutoDrawSet.

Requirements

Namespace: XNACS1Lib

Assembly: XNACS1Lib_PC (in XNACS1Lib_PC.dll)

See Also

XNACS1PrimitiveSet Members | XNACS1Lib Namespace