C# Class Ctrl_Space.Game

Inheritance: Microsoft.Xna.Framework.Game
显示文件 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_oe static_oe property

public static int ClusterSize
return int

ClusterSizeInPowerOfTwo public_oe static_oe property

public static int ClusterSizeInPowerOfTwo
return int

Config public_oe static_oe property

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

CountStartTimer public_oe property

public int CountStartTimer
return int

DebugConsole public_oe static_oe property

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

EnemyShipWins public_oe static_oe property

public static int EnemyShipWins
return int

IsStartTimer public_oe property

public bool IsStartTimer
return bool

LastTimeSpan public_oe property

public TimeSpan,System LastTimeSpan
return System.TimeSpan

Objects public_oe static_oe property

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

PlayerWins public_oe static_oe property

public static int PlayerWins
return int

ResolutionX public_oe static_oe property

public static int ResolutionX
return int

ResolutionY public_oe static_oe property

public static int ResolutionY
return int

ViewDistance public_oe static_oe property

public static float ViewDistance
return float

WorldHeight public_oe static_oe property

public static int WorldHeight
return int

WorldHeihgtInClusters public_oe static_oe property

public static int WorldHeihgtInClusters
return int

WorldWidth public_oe static_oe property

public static int WorldWidth
return int

WorldWidthInClusters public_oe static_oe property

public static int WorldWidthInClusters
return int

_background public_oe property

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

_font public_oe property

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

_graphics public_oe property

public GraphicsDeviceManager _graphics
return GraphicsDeviceManager