C# Class Bug.GameObjects.Wall

Inheritance: GameObject
Show file Open project: Projectfights/Fight-insect Class Usage Examples

Public Methods

Method Description
Draw ( Microsoft spriteBatch ) : void
GetBoundingBox ( ) : Rectangle
Update ( GameTime gameTime ) : void
Wall ( Rectangle bounds_ ) : Microsoft.Xna.Framework

Method Details

Draw() public method

public Draw ( Microsoft spriteBatch ) : void
spriteBatch Microsoft
return void

GetBoundingBox() public method

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

Update() public method

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

Wall() public method

public Wall ( Rectangle bounds_ ) : Microsoft.Xna.Framework
bounds_ Microsoft.Xna.Framework.Rectangle
return Microsoft.Xna.Framework