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
ファイルを表示 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_oe property

protected List components
return List

game protected_oe property

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

graphics protected_oe property

protected GraphicsDeviceManager graphics
return GraphicsDeviceManager

sprites protected_oe property

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