C# Class GPSTD_RM.GameObject

Superclass of all physical objects in the game.
Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Show file Open project: dideler/gps-tower-defense Class Usage Examples

Public Methods

Method Description
CollidesWith ( GameObject o ) : bool

Determines whether this object collides with another object. Note that, in some cases, this should be overridden.

Draw ( GameTime gameTime ) : void
GameObject ( Microsoft.Xna.Framework.Game game ) : System
Update ( GameTime gameTime ) : void

Method Details

CollidesWith() public method

Determines whether this object collides with another object. Note that, in some cases, this should be overridden.
public CollidesWith ( GameObject o ) : bool
o GameObject The object that it may be colliding with.
return bool

Draw() public method

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

GameObject() public method

public GameObject ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
return System

Update() public method

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