C# Class UHSampleGame.CoreObjects.GameObject

Afficher le fichier Open project: holtkampw/UH-Sample-XNA-Project

Protected Properties

Свойство Type Description
game Microsoft.Xna.Framework.Game
position Vector3

Méthodes publiques

Méthode 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 méthode

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

GameObject() public méthode

public GameObject ( ) : System
Résultat System

SetPosition() public méthode

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

Update() public abstract méthode

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

Property Details

game protected_oe property

The Game the object is in
protected Game,Microsoft.Xna.Framework game
Résultat Microsoft.Xna.Framework.Game

position protected_oe property

The position of the object in 3D space
protected Vector3 position
Résultat Vector3