C# Class Asteroids.Classes.Perks.ShieldPerk

Inheritance: Perks.Perk
Mostra file Open project: Timvangool/AsteroidsAPO2 Class Usage Examples

Public Methods

Method Description
Activate ( ) : void
Draw ( SpriteBatch batch ) : void
GetHitBox ( ) : Rectangle
GetIsActive ( ) : bool
GetShieldLives ( ) : int
Load ( ) : void
SetElapsedFrames ( int elapsedFrames ) : void
SetIsActive ( bool isActive ) : void
SetShieldLives ( int lives ) : void
ShieldPerk ( ) : System
ShieldPerk ( Microsoft.Xna.Framework.Content.ContentManager content, Player p ) : System
Update ( ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

Draw() public method

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

GetHitBox() public method

public GetHitBox ( ) : Rectangle
return Microsoft.Xna.Framework.Rectangle

GetIsActive() public method

public GetIsActive ( ) : bool
return bool

GetShieldLives() public method

public GetShieldLives ( ) : int
return int

Load() public method

public Load ( ) : void
return void

SetElapsedFrames() public method

public SetElapsedFrames ( int elapsedFrames ) : void
elapsedFrames int
return void

SetIsActive() public method

public SetIsActive ( bool isActive ) : void
isActive bool
return void

SetShieldLives() public method

public SetShieldLives ( int lives ) : void
lives int
return void

ShieldPerk() public method

public ShieldPerk ( ) : System
return System

ShieldPerk() public method

public ShieldPerk ( Microsoft.Xna.Framework.Content.ContentManager content, Player p ) : System
content Microsoft.Xna.Framework.Content.ContentManager
p Player
return System

Update() public method

public Update ( ) : void
return void