C# Class Asteroids.Classes.Perks.SpeedUpPerk

Inheritance: Perk
显示文件 Open project: Timvangool/AsteroidsAPO2 Class Usage Examples

Public Methods

Method Description
Activate ( ) : void
Draw ( SpriteBatch batch ) : void
Load ( ) : void
SetElapsedFrames ( int elapsedFrames ) : void
SpeedUpPerk ( ) : System
SpeedUpPerk ( 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

Load() public method

public Load ( ) : void
return void

SetElapsedFrames() public method

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

SpeedUpPerk() public method

public SpeedUpPerk ( ) : System
return System

SpeedUpPerk() public method

public SpeedUpPerk ( 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