C# Class Drought.DroughtGame

Inheritance: Microsoft.Xna.Framework.Game
显示文件 Open project: kiniry-teaching/UCD Class Usage Examples

Public Properties

Property Type Description
NETWORKED bool

Public Methods

Method Description
DroughtGame ( ) : Drought.GameStates
Main ( string args ) : void
getGraphics ( ) : GraphicsDevice
getNetworkManager ( ) : NetworkManager
getSoundManager ( ) : SoundManager
getSpriteBatch ( ) : SpriteBatch

Protected Methods

Method Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
checkFullscreen ( ) : void
createKeyBindings ( ) : void

Method Details

Draw() protected method

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

DroughtGame() public method

public DroughtGame ( ) : Drought.GameStates
return Drought.GameStates

Initialize() protected method

protected Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

Main() public static method

public static Main ( string args ) : void
args string
return void

UnloadContent() protected method

protected UnloadContent ( ) : void
return void

Update() protected method

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

getGraphics() public method

public getGraphics ( ) : GraphicsDevice
return GraphicsDevice

getNetworkManager() public method

public getNetworkManager ( ) : NetworkManager
return Drought.Network.NetworkManager

getSoundManager() public method

public getSoundManager ( ) : SoundManager
return Drought.Sound.SoundManager

getSpriteBatch() public method

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

Property Details

NETWORKED public_oe static_oe property

public static bool NETWORKED
return bool