C# Class GrandLarceny.Game

Inheritance: Microsoft.Xna.Framework.Game
Mostra file Open project: melburn/GLhf

Public Properties

Property Type Description
m_nextProgress Progress
m_progress Progress

Public Methods

Method Description
getCheckPointLevel ( bool a_save ) : MemoryStream
getCheckPointProgress ( bool a_save ) : MemoryStream
getGameTime ( ) : GameTime
getInstance ( ) : Game
getProgress ( ) : Progress
getRandom ( ) : Random
getResolution ( ) : Vector2
getSpriteBatch ( ) : SpriteBatch
getTotalGameTime ( ) : System.TimeSpan
hasCheckPoint ( ) : bool
setCutscene ( String a_fileName ) : void
setProgress ( string a_progressName, bool a_checkPoint ) : void

Protected Methods

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

Private Methods

Method Description
Game ( ) : System
getState ( ) : GrandLarceny.States
setState ( States a_newState ) : void

Method Details

Draw() protected method

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

Initialize() protected method

protected Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

UnloadContent() protected method

protected UnloadContent ( ) : void
return void

Update() protected method

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

getCheckPointLevel() public method

public getCheckPointLevel ( bool a_save ) : MemoryStream
a_save bool
return System.IO.MemoryStream

getCheckPointProgress() public method

public getCheckPointProgress ( bool a_save ) : MemoryStream
a_save bool
return System.IO.MemoryStream

getGameTime() public method

public getGameTime ( ) : GameTime
return Microsoft.Xna.Framework.GameTime

getInstance() public static method

public static getInstance ( ) : Game
return Game

getProgress() public method

public getProgress ( ) : Progress
return Progress

getRandom() public method

public getRandom ( ) : Random
return System.Random

getResolution() public method

public getResolution ( ) : Vector2
return Vector2

getSpriteBatch() public method

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

getTotalGameTime() public method

public getTotalGameTime ( ) : System.TimeSpan
return System.TimeSpan

hasCheckPoint() public method

public hasCheckPoint ( ) : bool
return bool

setCutscene() public method

public setCutscene ( String a_fileName ) : void
a_fileName String
return void

setProgress() public method

public setProgress ( string a_progressName, bool a_checkPoint ) : void
a_progressName string
a_checkPoint bool
return void

Property Details

m_nextProgress public_oe property

public Progress m_nextProgress
return Progress

m_progress public_oe property

public Progress m_progress
return Progress