C# Class Asteroids.Classes.BasicBullet

Inheritance: Weapon
Afficher le fichier Open project: Timvangool/AsteroidsAPO2 Class Usage Examples

Méthodes publiques

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

public BasicBullet ( ) : System
Résultat System

Draw() public méthode

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

GetTextureHeight() public méthode

public GetTextureHeight ( ) : int
Résultat int

GetTextureWidth() public méthode

public GetTextureWidth ( ) : int
Résultat int

Load() public méthode

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

Update() public méthode

public Update ( GameTime gameTime, Vector2 direction ) : void
gameTime Microsoft.Xna.Framework.GameTime
direction Vector2
Résultat void