C# Class Project_Starfighter.Ammo

Datei anzeigen Open project: csce3513/Team15 Class Usage Examples

Public Properties

Property Type Description
aLocation Vector2
asBullet AnimatedSprite
iSpeed float

Public Methods

Method Description
Ammo ( ) : System
Ammo ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System
Draw ( SpriteBatch sb ) : void
Fire ( int X, int Y ) : void
Update ( GameTime gameTime ) : void
UpdateEnemyAmmo ( GameTime gameTime ) : void

Method Details

Ammo() public method

public Ammo ( ) : System
return System

Ammo() public method

public Ammo ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
return System

Draw() public method

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

Fire() public method

public Fire ( int X, int Y ) : void
X int
Y int
return void

Update() public method

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

UpdateEnemyAmmo() public method

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

Property Details

aLocation public_oe property

public Vector2 aLocation
return Vector2

asBullet public_oe property

public AnimatedSprite,Project_Starfighter asBullet
return AnimatedSprite

iSpeed public_oe property

public float iSpeed
return float