C# Class Divine_Right.GameScreens.MainMenuScreen

Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Show file Open project: Haedrian/Divine-Right Class Usage Examples

Protected Properties

Property Type Description
baseGameMessage string
components List
game Microsoft.Xna.Framework.Game
graphics GraphicsDeviceManager
sprites Microsoft.Xna.Framework.Graphics.SpriteBatch

Public Methods

Method Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
MainMenuScreen ( Microsoft.Xna.Framework.Game game, GraphicsDeviceManager graphics, string baseGameMessage ) : System
Update ( GameTime gameTime ) : void

Protected Methods

Method Description
LoadContent ( ) : void

Method Details

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Initialize() public method

public Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

MainMenuScreen() public method

public MainMenuScreen ( Microsoft.Xna.Framework.Game game, GraphicsDeviceManager graphics, string baseGameMessage ) : System
game Microsoft.Xna.Framework.Game
graphics GraphicsDeviceManager
baseGameMessage string
return System

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Property Details

baseGameMessage protected property

protected string baseGameMessage
return string

components protected property

protected List components
return List

game protected property

protected Game,Microsoft.Xna.Framework game
return Microsoft.Xna.Framework.Game

graphics protected property

protected GraphicsDeviceManager graphics
return GraphicsDeviceManager

sprites protected property

protected SpriteBatch,Microsoft.Xna.Framework.Graphics sprites
return Microsoft.Xna.Framework.Graphics.SpriteBatch