C# Class SpaceBattle.PowerUp

Inheritance: Actor
显示文件 Open project: luqui/space-shooter

Public Methods

Method Description
Collision ( Actor other ) : void
Die ( ) : void
Draw ( ) : void
PowerUp ( Action draw, float timeout, Vector2 position, Vector2 velocity, Action action ) : System
Update ( float dt ) : void

Method Details

Collision() public method

public Collision ( Actor other ) : void
other Actor
return void

Die() public method

public Die ( ) : void
return void

Draw() public method

public Draw ( ) : void
return void

PowerUp() public method

public PowerUp ( Action draw, float timeout, Vector2 position, Vector2 velocity, Action action ) : System
draw Action
timeout float
position Vector2
velocity Vector2
action Action
return System

Update() public method

public Update ( float dt ) : void
dt float
return void