C# Class Asteroids.Classes.Perks.Perk

Afficher le fichier Open project: Timvangool/AsteroidsAPO2

Méthodes publiques

Méthode Description
Activate ( ) : void
Draw ( SpriteBatch batch ) : void
Load ( ) : void
Perk ( ) : System
Update ( ) : void

Méthodes protégées

Méthode Description
GetDuration ( ) : int
GetMaxDuration ( ) : int
GetSpeedIncrease ( ) : float
GetTexture ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
SetDuration ( int duration ) : void
SetMaxDuration ( int maxDuration ) : void
SetTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void

Method Details

Activate() public abstract méthode

public abstract Activate ( ) : void
Résultat void

Draw() public abstract méthode

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

GetDuration() protected méthode

protected GetDuration ( ) : int
Résultat int

GetMaxDuration() protected méthode

protected GetMaxDuration ( ) : int
Résultat int

GetSpeedIncrease() protected méthode

protected GetSpeedIncrease ( ) : float
Résultat float

GetTexture() protected méthode

protected GetTexture ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

Load() public abstract méthode

public abstract Load ( ) : void
Résultat void

Perk() public méthode

public Perk ( ) : System
Résultat System

SetDuration() protected méthode

protected SetDuration ( int duration ) : void
duration int
Résultat void

SetMaxDuration() protected méthode

protected SetMaxDuration ( int maxDuration ) : void
maxDuration int
Résultat void

SetTexture() protected méthode

protected SetTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
Résultat void

Update() public abstract méthode

public abstract Update ( ) : void
Résultat void