C# Class Drought.State.GameState

Mostra file Open project: kiniry-teaching/UCD Class Usage Examples

Public Methods

Method Description
GameState ( IStateManager manager, DroughtGame game ) : System
background ( ) : void
foreground ( ) : void
getContentManager ( ) : Microsoft.Xna.Framework.Content.ContentManager
getGame ( ) : DroughtGame
getGraphics ( ) : GraphicsDevice
getSpriteBatch ( ) : SpriteBatch
getStateManager ( ) : IStateManager
loadContent ( ) : void
render ( GameTime gameTime, GraphicsDevice graphics, SpriteBatch spriteBatch ) : void
update ( GameTime gameTime ) : void

Method Details

GameState() public method

public GameState ( IStateManager manager, DroughtGame game ) : System
manager IStateManager
game DroughtGame
return System

background() public abstract method

public abstract background ( ) : void
return void

foreground() public abstract method

public abstract foreground ( ) : void
return void

getContentManager() public method

public getContentManager ( ) : Microsoft.Xna.Framework.Content.ContentManager
return Microsoft.Xna.Framework.Content.ContentManager

getGame() public method

public getGame ( ) : DroughtGame
return DroughtGame

getGraphics() public method

public getGraphics ( ) : GraphicsDevice
return GraphicsDevice

getSpriteBatch() public method

public getSpriteBatch ( ) : SpriteBatch
return Microsoft.Xna.Framework.Graphics.SpriteBatch

getStateManager() public method

public getStateManager ( ) : IStateManager
return IStateManager

loadContent() public abstract method

public abstract loadContent ( ) : void
return void

render() public abstract method

public abstract render ( GameTime gameTime, GraphicsDevice graphics, SpriteBatch spriteBatch ) : void
gameTime Microsoft.Xna.Framework.GameTime
graphics GraphicsDevice
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

update() public abstract method

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