C# Class Ctrl_Space.Game

Inheritance: Microsoft.Xna.Framework.Game
Show file Open project: vkd/Ctrl-Space Class Usage Examples

Public Properties

Property Type Description
ClusterSize int
ClusterSizeInPowerOfTwo int
Config Ctrl_Space.Helpers.Config
CountStartTimer int
DebugConsole Ctrl_Space.Graphics.DebugConsole
EnemyShipWins int
IsStartTimer bool
LastTimeSpan System.TimeSpan
Objects Ctrl_Space.Gameplay.GameObjects
PlayerWins int
ResolutionX int
ResolutionY int
ViewDistance float
WorldHeight int
WorldHeihgtInClusters int
WorldWidth int
WorldWidthInClusters int
_background Ctrl_Space.Graphics.Background
_font MonogameTest.Graphics.SimpleFont
_graphics GraphicsDeviceManager

Public Methods

Method Description
Game ( ) : System
WinShip ( Type typeOfShip ) : void

Protected Methods

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

Private Methods

Method Description
Game_Activated ( object sender, EventArgs e ) : void
Game_Deactivated ( object sender, EventArgs e ) : void
InitializeInputManager ( ) : void

Method Details

Draw() protected method

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

Game() public method

public Game ( ) : System
return System

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 gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

WinShip() public static method

public static WinShip ( Type typeOfShip ) : void
typeOfShip System.Type
return void

Property Details

ClusterSize public static property

public static int ClusterSize
return int

ClusterSizeInPowerOfTwo public static property

public static int ClusterSizeInPowerOfTwo
return int

Config public static property

public static Config,Ctrl_Space.Helpers Config
return Ctrl_Space.Helpers.Config

CountStartTimer public property

public int CountStartTimer
return int

DebugConsole public static property

public static DebugConsole,Ctrl_Space.Graphics DebugConsole
return Ctrl_Space.Graphics.DebugConsole

EnemyShipWins public static property

public static int EnemyShipWins
return int

IsStartTimer public property

public bool IsStartTimer
return bool

LastTimeSpan public property

public TimeSpan,System LastTimeSpan
return System.TimeSpan

Objects public static property

public static GameObjects,Ctrl_Space.Gameplay Objects
return Ctrl_Space.Gameplay.GameObjects

PlayerWins public static property

public static int PlayerWins
return int

ResolutionX public static property

public static int ResolutionX
return int

ResolutionY public static property

public static int ResolutionY
return int

ViewDistance public static property

public static float ViewDistance
return float

WorldHeight public static property

public static int WorldHeight
return int

WorldHeihgtInClusters public static property

public static int WorldHeihgtInClusters
return int

WorldWidth public static property

public static int WorldWidth
return int

WorldWidthInClusters public static property

public static int WorldWidthInClusters
return int

_background public property

public Background,Ctrl_Space.Graphics _background
return Ctrl_Space.Graphics.Background

_font public property

public SimpleFont,MonogameTest.Graphics _font
return MonogameTest.Graphics.SimpleFont

_graphics public property

public GraphicsDeviceManager _graphics
return GraphicsDeviceManager