C# Class Divine_Right.GameScreens.DeathScreen

Screen describing that the player died, their score or whatever and leading them back to the main menu
Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Show file Open project: Haedrian/Divine-Right

Protected Properties

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

Public Methods

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

Protected Methods

Method Description
LoadContent ( ) : void

Method Details

DeathScreen() public method

public DeathScreen ( Microsoft.Xna.Framework.Game game, GraphicsDeviceManager graphics ) : System
game Microsoft.Xna.Framework.Game
graphics GraphicsDeviceManager
return System

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

Update() public method

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

Property Details

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