Method | Description | |
---|---|---|
ObjectOrientedGame ( ) : System |
Method | Description | |
---|---|---|
Draw ( |
This is called when the game should draw itself.
|
|
Initialize ( ) : void | ||
LoadContent ( ) : void |
LoadContent will be called once per game and is the place to load all of your content.
|
|
UnloadContent ( ) : void |
UnloadContent will be called once per game and is the place to unload all content.
|
|
Update ( |
Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
|
Method | Description | |
---|---|---|
drawElement ( |
Uses spritebatch to draw the provided element. Note: Assumes spritebatch.Begin() !
|
protected Draw ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |
protected Update ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |