C# Class Project_Starfighter.Ammo

Afficher le fichier Open project: csce3513/Team15 Class Usage Examples

Méthodes publiques

Свойство Type Description
aLocation Vector2
asBullet AnimatedSprite
iSpeed float

Méthodes publiques

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

public Ammo ( ) : System
Résultat System

Ammo() public méthode

public Ammo ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
Résultat System

Draw() public méthode

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

Fire() public méthode

public Fire ( int X, int Y ) : void
X int
Y int
Résultat void

Update() public méthode

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

UpdateEnemyAmmo() public méthode

public UpdateEnemyAmmo ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

aLocation public_oe property

public Vector2 aLocation
Résultat Vector2

asBullet public_oe property

public AnimatedSprite,Project_Starfighter asBullet
Résultat AnimatedSprite

iSpeed public_oe property

public float iSpeed
Résultat float