C# Class Visualizer.VisualizerGame

This is the main type for your game
Inheritance: Microsoft.Xna.Framework.Game
显示文件 Open project: omanamos/kinect-nao Class Usage Examples

Protected Properties

Property Type Description
lines List

Public Methods

Method Description
VisualizerGame ( ) : System
getLoc ( double v ) : Vector3

Protected Methods

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

Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.

LoadContent ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
AddToCameraPosition ( Vector3 vectorToAdd ) : void
ProcessInput ( float amount ) : void
UpdateViewMatrix ( ) : void
addPoints ( List points ) : int
removePoints ( int pointsId ) : void

Method Details

Draw() protected method

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

Initialize() protected method

Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.
protected Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

Update() protected method

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

VisualizerGame() public method

public VisualizerGame ( ) : System
return System

getLoc() public method

public getLoc ( double v ) : Vector3
v double
return Vector3

Property Details

lines protected_oe property

protected List lines
return List