C# Class BlisterUI.MainGame

Inheritance: Microsoft.Xna.Framework.Game
显示文件 Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Protected Properties

Property Type Description
graphics GraphicsDeviceManager
screen IGameScreen
screenList ScreenList
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch

Public Methods

Method Description
MainGame ( ) : System

Protected Methods

Method Description
BuildScreenList ( ) : void
Draw ( GameTime gameTime ) : void
FullInitialize ( ) : void
FullLoad ( ) : void
FullQuit ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
OnExiting ( object sender, EventArgs args ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

Method Details

BuildScreenList() protected abstract method

protected abstract BuildScreenList ( ) : void
return void

Draw() protected method

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

FullInitialize() protected abstract method

protected abstract FullInitialize ( ) : void
return void

FullLoad() protected abstract method

protected abstract FullLoad ( ) : void
return void

FullQuit() protected method

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

Initialize() protected method

protected Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

MainGame() public method

public MainGame ( ) : System
return System

OnExiting() protected method

protected OnExiting ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
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

Property Details

graphics protected_oe property

protected GraphicsDeviceManager graphics
return GraphicsDeviceManager

screen protected_oe property

protected IGameScreen screen
return IGameScreen

screenList protected_oe property

protected ScreenList,BlisterUI screenList
return ScreenList

spriteBatch protected_oe property

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