Method | Description | |
---|---|---|
Credits ( IControlScheme controlScheme, GraphicsDeviceManager graphics ) : System.Collections.Generic |
Constructor for the credits screen. Sets up the list of names and categories to scrolll up
|
|
Draw ( |
Draws the credits on screen
|
|
DrawLevel ( |
||
Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void |
Loads the images and fonts needed for this screen
|
|
Update ( |
Update process of this screen. Moves the credits up one pixel
|
Method | Description | |
---|---|---|
GetTextXLocation ( string text, bool header ) : int |
Gets the x location of the text so that is exactly center for the string that is given
|
public Credits ( IControlScheme controlScheme, GraphicsDeviceManager graphics ) : System.Collections.Generic | ||
controlScheme | IControlScheme | Player's method of control |
graphics | GraphicsDeviceManager | Graphics Manager for the game |
return | System.Collections.Generic |
public Draw ( |
||
gametime | Curent gametime(unnecessary) | |
spriteBatch | Canvas the screen is drawing on | |
scale | Not sure yet :) | |
return | void |
public DrawLevel ( |
||
spriteBatch | ||
gameTime | ||
scale | ||
return | void |
public Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | Content manager this game is using |
return | void |
public Update ( |
||
gametime | Curent gametime(unnecessary) | |
states | GameStates | State of the current game |
return | void |