C# Class SpaceBattle.PlayerShip

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

Public Properties

Property Type Description
Input Input

Public Methods

Method Description
AddRing ( ) : void
Collision ( Actor other ) : void
Die ( ) : void
Draw ( ) : void
DrawStatus ( ) : void
Equip ( string e, int amount ) : void
FasterShots ( ) : void
MoreShots ( ) : void
PlayerShip ( PlayerIndex player, Input input ) : System
PositionSetter ( Vector2 position ) : void
PrismShots ( ) : void
ResetAmmo ( ) : void
Update ( float dt ) : void

Method Details

AddRing() public method

public AddRing ( ) : void
return void

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

DrawStatus() public method

public DrawStatus ( ) : void
return void

Equip() public method

public Equip ( string e, int amount ) : void
e string
amount int
return void

FasterShots() public method

public FasterShots ( ) : void
return void

MoreShots() public method

public MoreShots ( ) : void
return void

PlayerShip() public method

public PlayerShip ( PlayerIndex player, Input input ) : System
player PlayerIndex
input Input
return System

PositionSetter() public method

public PositionSetter ( Vector2 position ) : void
position Vector2
return void

PrismShots() public method

public PrismShots ( ) : void
return void

ResetAmmo() public method

public ResetAmmo ( ) : void
return void

Update() public method

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

Property Details

Input public_oe property

public Input Input
return Input