Method | Description | |
---|---|---|
Controller ( IControlScheme controlScheme, GraphicsDeviceManager graphics ) : Microsoft.Xna.Framework |
Constructor for controller screen
|
|
Draw ( |
Draws the controller screen
|
|
Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void |
Loads images needed for this screen
|
|
Update ( |
Update process of this screen. Responds to player input to go back to the options screen.
|
public Controller ( IControlScheme controlScheme, GraphicsDeviceManager graphics ) : Microsoft.Xna.Framework | ||
controlScheme | IControlScheme | Player's method of control |
graphics | GraphicsDeviceManager | Graphics manager for the game |
return | Microsoft.Xna.Framework |
public Draw ( |
||
gametime | Current gametime | |
spriteBatch | Canvas the screen is drawing on | |
scale | scale factor | |
return | void |
public Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | Content manager used for this game |
return | void |
public Update ( |
||
gametime | Current gameTime | |
states | GameStates | Current state of the game |
return | void |