C# Class Project_Starfighter.Boss

Datei anzeigen Open project: csce3513/Team15 Class Usage Examples

Public Properties

Property Type Description
bullets Project_Starfighter.Ammo[]

Public Methods

Method Description
Boss ( Microsoft.Xna.Framework.Graphics.Texture2D texture, int X, int Y, int W, int H, int Frames ) : System
Deactivate ( ) : void
Draw ( SpriteBatch sb, int iLocation ) : void
DrawBullets ( SpriteBatch spbatch ) : void
FireBullet ( int iVerticalOffset, SoundEffect laserSound ) : void
Generate ( int enemyNumber ) : void
GetDrawY ( ) : int
InitializeBullets ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
RemoveBullet ( int iBullet ) : void
Update ( GameTime gametime ) : void
UpdateAmmo ( GameTime gameTime ) : void

Method Details

Boss() public method

public Boss ( Microsoft.Xna.Framework.Graphics.Texture2D texture, int X, int Y, int W, int H, int Frames ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
X int
Y int
W int
H int
Frames int
return System

Deactivate() public method

public Deactivate ( ) : void
return void

Draw() public method

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

DrawBullets() public method

public DrawBullets ( SpriteBatch spbatch ) : void
spbatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

FireBullet() public method

public FireBullet ( int iVerticalOffset, SoundEffect laserSound ) : void
iVerticalOffset int
laserSound Microsoft.Xna.Framework.Audio.SoundEffect
return void

Generate() public method

public Generate ( int enemyNumber ) : void
enemyNumber int
return void

GetDrawY() public method

public GetDrawY ( ) : int
return int

InitializeBullets() public method

public InitializeBullets ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
return void

RemoveBullet() public method

public RemoveBullet ( int iBullet ) : void
iBullet int
return void

Update() public method

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

UpdateAmmo() public method

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

Property Details

bullets public_oe property

public Ammo[],Project_Starfighter bullets
return Project_Starfighter.Ammo[]