C# Class Bug.GameObject

Mostra file Open project: Projectfights/Fight-insect Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch ) : void
GameObject ( ) : System
GameObject ( Vector2 pos ) : System
GetBoundingBox ( ) : Rectangle
SetPos ( Vector2 pos ) : void
Update ( GameTime gameTime ) : void

Method Details

Draw() public abstract method

public abstract Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

GameObject() public method

public GameObject ( ) : System
return System

GameObject() public method

public GameObject ( Vector2 pos ) : System
pos Vector2
return System

GetBoundingBox() public abstract method

public abstract GetBoundingBox ( ) : Rectangle
return Microsoft.Xna.Framework.Rectangle

SetPos() public method

public SetPos ( Vector2 pos ) : void
pos Vector2
return void

Update() public abstract method

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