C# Class Drought.GameManager

Inheritance: IStateManager
ファイルを表示 Open project: kiniry-teaching/UCD Class Usage Examples

Public Methods

Method Description
GameManager ( Microsoft.Xna.Framework.Game game ) : System
popState ( ) : void
pushState ( GameState state ) : void
reloadContent ( ) : void
render ( GameTime gameTime, GraphicsDevice graphics, SpriteBatch spriteBatch ) : void
update ( GameTime gameTime ) : void

Private Methods

Method Description
doChanges ( ) : void

Method Details

GameManager() public method

public GameManager ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
return System

popState() public method

public popState ( ) : void
return void

pushState() public method

public pushState ( GameState state ) : void
state Drought.State.GameState
return void

reloadContent() public method

public reloadContent ( ) : void
return void

render() public method

public 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 method

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