C# Class Asteroids.Classes.BasicBullet

Inheritance: Weapon
Show file Open project: Timvangool/AsteroidsAPO2 Class Usage Examples

Public Methods

Method Description
BasicBullet ( ) : System
Draw ( SpriteBatch spriteBatch ) : void
GetTextureHeight ( ) : int
GetTextureWidth ( ) : int
Load ( Microsoft.Xna.Framework.Content.ContentManager content, Vector2 direction ) : void
Update ( GameTime gameTime, Vector2 direction ) : void

Method Details

BasicBullet() public method

public BasicBullet ( ) : System
return System

Draw() public method

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

GetTextureHeight() public method

public GetTextureHeight ( ) : int
return int

GetTextureWidth() public method

public GetTextureWidth ( ) : int
return int

Load() public method

public Load ( Microsoft.Xna.Framework.Content.ContentManager content, Vector2 direction ) : void
content Microsoft.Xna.Framework.Content.ContentManager
direction Vector2
return void

Update() public method

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