C# Class Project_Starfighter.Enemy2

ファイルを表示 Open project: csce3513/Team15 Class Usage Examples

Public Properties

Property Type Description
bolts Project_Starfighter.Ammo[]

Public Methods

Method Description
Deactivate ( ) : void
Draw ( SpriteBatch sb, int iLocation ) : void
DrawBullets ( SpriteBatch spbatch ) : void
Enemy2 ( Microsoft.Xna.Framework.Graphics.Texture2D texture, int X, int Y, int W, int H, int Frames ) : System
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

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

Enemy2() public method

public Enemy2 ( 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

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

bolts public_oe property

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