DrawableGameComponent Methods
| Name | Description | |
|---|---|---|
|
Dispose | Overloaded. Releases the resources used by the DrawableGameComponent class. |
|
Draw | Called when the DrawableGameComponent needs to be drawn. Override this method with component-specific drawing code. |
|
Equals | (Inherited from Object.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
Initialize | Initializes the component. Override this method to load any non-graphics resources and query for any required services. |
|
ToString | (Inherited from Object.) |
|
Update | (Inherited from GameComponent.) |
| Name | Description | |
|---|---|---|
|
Finalize | (Inherited from GameComponent.) |
|
LoadContent | Called when graphics resources need to be loaded. Override this method to load any component-specific graphics resources. |
|
MemberwiseClone | (Inherited from Object.) |
|
OnDrawOrderChanged | Called when the DrawOrder property changes. Raises the DrawOrderChanged event. |
|
OnEnabledChanged | (Inherited from GameComponent.) |
|
OnUpdateOrderChanged | (Inherited from GameComponent.) |
|
OnVisibleChanged | Called when the Visible property changes. Raises the VisibleChanged event. |
|
UnloadContent | Called when graphics resources need to be unloaded. Override this method to unload any component-specific graphics resources. |