C# Class Asteroids.Classes.Perks.ShieldPerk

Inheritance: Perks.Perk
Afficher le fichier Open project: Timvangool/AsteroidsAPO2 Class Usage Examples

Méthodes publiques

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

public Activate ( ) : void
Résultat void

Draw() public méthode

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

GetHitBox() public méthode

public GetHitBox ( ) : Rectangle
Résultat Microsoft.Xna.Framework.Rectangle

GetIsActive() public méthode

public GetIsActive ( ) : bool
Résultat bool

GetShieldLives() public méthode

public GetShieldLives ( ) : int
Résultat int

Load() public méthode

public Load ( ) : void
Résultat void

SetElapsedFrames() public méthode

public SetElapsedFrames ( int elapsedFrames ) : void
elapsedFrames int
Résultat void

SetIsActive() public méthode

public SetIsActive ( bool isActive ) : void
isActive bool
Résultat void

SetShieldLives() public méthode

public SetShieldLives ( int lives ) : void
lives int
Résultat void

ShieldPerk() public méthode

public ShieldPerk ( ) : System
Résultat System

ShieldPerk() public méthode

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

Update() public méthode

public Update ( ) : void
Résultat void