C# Class MilkShakeFramework.MilkShake

Inheritance: Microsoft.Xna.Framework.Game
Show file Open project: lucas-jones/MilkShake-old

Public Properties

Property Type Description
ConentManager Microsoft.Xna.Framework.Content.ContentManager
Game Microsoft.Xna.Framework.Game
Graphics GraphicsDevice
GraphicsManager GraphicsDeviceManager

Public Methods

Method Description
MilkShake ( int ScreenWidth = Globals.DefaultScreenWidth, int ScreenHeight = Globals.DefaultScreenHeight ) : Microsoft.Xna.Framework

Protected Methods

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

Private Methods

Method Description
ApplySettings ( int Width, int Height, bool isFullscreen = false, bool PreferMultiSampling = false ) : void

Method Details

Draw() protected method

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

Initialize() protected method

protected Initialize ( ) : void
return void

MilkShake() public method

public MilkShake ( int ScreenWidth = Globals.DefaultScreenWidth, int ScreenHeight = Globals.DefaultScreenHeight ) : Microsoft.Xna.Framework
ScreenWidth int
ScreenHeight int
return Microsoft.Xna.Framework

Update() protected method

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

Property Details

ConentManager public static property

public static ContentManager,Microsoft.Xna.Framework.Content ConentManager
return Microsoft.Xna.Framework.Content.ContentManager

Game public static property

public static Game,Microsoft.Xna.Framework Game
return Microsoft.Xna.Framework.Game

Graphics public static property

public static GraphicsDevice Graphics
return GraphicsDevice

GraphicsManager public static property

public static GraphicsDeviceManager GraphicsManager
return GraphicsDeviceManager