C# Class SpaceBattle.XBoxInput

Inheritance: Input
Mostrar archivo Open project: luqui/space-shooter

Public Properties

Property Type Description
Player PlayerIndex

Public Methods

Method Description
Aim ( Vector2 pos ) : Vector2
Back ( ) : bool
BulletWeight ( ) : float
Direction ( ) : Vector2
FireRing ( ) : bool
FiringBullet ( ) : bool
FiringEnemy ( ) : bool
Pause ( ) : bool
SwitchBehaviors ( ) : bool
SwitchDamages ( ) : bool
SwitchSeekers ( ) : bool
Update ( ) : void
XBoxInput ( PlayerIndex pidx ) : System

Method Details

Aim() public method

public Aim ( Vector2 pos ) : Vector2
pos Vector2
return Vector2

Back() public method

public Back ( ) : bool
return bool

BulletWeight() public method

public BulletWeight ( ) : float
return float

Direction() public method

public Direction ( ) : Vector2
return Vector2

FireRing() public method

public FireRing ( ) : bool
return bool

FiringBullet() public method

public FiringBullet ( ) : bool
return bool

FiringEnemy() public method

public FiringEnemy ( ) : bool
return bool

Pause() public method

public Pause ( ) : bool
return bool

SwitchBehaviors() public method

public SwitchBehaviors ( ) : bool
return bool

SwitchDamages() public method

public SwitchDamages ( ) : bool
return bool

SwitchSeekers() public method

public SwitchSeekers ( ) : bool
return bool

Update() public method

public Update ( ) : void
return void

XBoxInput() public method

public XBoxInput ( PlayerIndex pidx ) : System
pidx PlayerIndex
return System

Property Details

Player public_oe property

public PlayerIndex Player
return PlayerIndex