Export (0) Print
Expand All

GameComponent Members

The following tables list the members exposed by the GameComponent type.

NameDescription
Public MethodGameComponentInitializes a new instance of this class.

NameDescription
Public PropertyEnabledIndicates whether GameComponent.Update should be called when Game.Update is called.
Public PropertyGame Gets the Game associated with this GameComponent.
Public PropertyUpdateOrderIndicates the order in which the GameComponent should be updated relative to other GameComponent instances. Lower values are updated first.

NameDescription
Public MethodDisposeOverloaded. Immediately releases the unmanaged resources used by this object.
Public MethodEquals (Inherited from Object.)
Public MethodGetHashCode (Inherited from Object.)
Public MethodGetType (Inherited from Object.)
Public MethodInitializeCalled when the GameComponent needs to be initialized.
Public MethodReferenceEquals (Inherited from Object.)
Public MethodToString (Inherited from Object.)
Public MethodUpdateCalled when the GameComponent needs to be updated. Override this method with component-specific update code.

NameDescription
Protected MethodFinalize Allows a GameComponent to attempt to free resources and perform other cleanup operations before garbage collection reclaims the GameComponent.
Protected MethodMemberwiseClone (Inherited from Object.)
Protected MethodOnEnabledChangedCalled when the Enabled property changes. Raises the EnabledChanged event.
Protected MethodOnUpdateOrderChangedCalled when the UpdateOrder property changes. Raises the UpdateOrderChanged event.

NameDescription
Public EventDisposedRaised when the GameComponent is disposed.
Public EventEnabledChangedRaised when the Enabled property changes.
Public EventUpdateOrderChangedRaised when the UpdateOrder property changes.

Community Additions

ADD
Show:
© 2014 Microsoft