C# Class UHSampleGame.CoreObjects.GameObject

Show file Open project: holtkampw/UH-Sample-XNA-Project

Protected Properties

Property Type Description
game Microsoft.Xna.Framework.Game
position Vector3

Public Methods

Method Description
Draw ( GameTime gameTime ) : void

Draws various components in the game

GameObject ( ) : System
SetPosition ( Vector3 position ) : void

Sets the position of the object in 3D space

Update ( GameTime gameTime ) : void

Updates various components in the game

Method Details

Draw() public abstract method

Draws various components in the game
public abstract Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Current game time
return void

GameObject() public method

public GameObject ( ) : System
return System

SetPosition() public method

Sets the position of the object in 3D space
public SetPosition ( Vector3 position ) : void
position Vector3 The position to which to set the object
return void

Update() public abstract method

Updates various components in the game
public abstract Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Current game time
return void

Property Details

game protected property

The Game the object is in
protected Game,Microsoft.Xna.Framework game
return Microsoft.Xna.Framework.Game

position protected property

The position of the object in 3D space
protected Vector3 position
return Vector3