C# Class PGCGame.SecondaryWeapon

Inheritance: Sprite
显示文件 Open project: GreatMindsRobotics/PGCGame

Public Properties

Property Type Description
IsDead bool
fired System.Boolean

Public Methods

Method Description
SecondaryWeapon ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 location, SpriteBatch spriteBatch ) : System
Update ( GameTime currentGameTime ) : void

Protected Methods

Method Description
FireKilledEvent ( ) : void

Private Methods

Method Description
SecondaryWeapon_Killed ( object sender, EventArgs e ) : void

Method Details

FireKilledEvent() protected method

protected FireKilledEvent ( ) : void
return void

SecondaryWeapon() public method

public SecondaryWeapon ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 location, SpriteBatch spriteBatch ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
location Vector2
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return System

Update() public abstract method

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

Property Details

IsDead public_oe property

public bool IsDead
return bool

fired public_oe property

public Boolean,System fired
return System.Boolean