C# Class Asteroids.Classes.Perks.Perk

Mostrar archivo Open project: Timvangool/AsteroidsAPO2

Public Methods

Method Description
Activate ( ) : void
Draw ( SpriteBatch batch ) : void
Load ( ) : void
Perk ( ) : System
Update ( ) : void

Protected Methods

Method 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 method

public abstract Activate ( ) : void
return void

Draw() public abstract method

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

GetDuration() protected method

protected GetDuration ( ) : int
return int

GetMaxDuration() protected method

protected GetMaxDuration ( ) : int
return int

GetSpeedIncrease() protected method

protected GetSpeedIncrease ( ) : float
return float

GetTexture() protected method

protected GetTexture ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
return Microsoft.Xna.Framework.Graphics.Texture2D

Load() public abstract method

public abstract Load ( ) : void
return void

Perk() public method

public Perk ( ) : System
return System

SetDuration() protected method

protected SetDuration ( int duration ) : void
duration int
return void

SetMaxDuration() protected method

protected SetMaxDuration ( int maxDuration ) : void
maxDuration int
return void

SetTexture() protected method

protected SetTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
return void

Update() public abstract method

public abstract Update ( ) : void
return void