C# Class hyades.GamePadDevice

Inheritance: InputDevice
Show file Open project: zfedoran/bubblebound

Public Properties

Property Type Description
playerIndex PlayerIndex

Public Methods

Method Description
GamePadDevice ( PlayerIndex playerIndex ) : System
IsDown ( Buttons button ) : bool
IsPressed ( Buttons button ) : bool
IsUp ( Buttons button ) : bool
Update ( ) : void

Method Details

GamePadDevice() public method

public GamePadDevice ( PlayerIndex playerIndex ) : System
playerIndex PlayerIndex
return System

IsDown() public method

public IsDown ( Buttons button ) : bool
button Buttons
return bool

IsPressed() public method

public IsPressed ( Buttons button ) : bool
button Buttons
return bool

IsUp() public method

public IsUp ( Buttons button ) : bool
button Buttons
return bool

Update() public method

public Update ( ) : void
return void

Property Details

playerIndex public property

public PlayerIndex playerIndex
return PlayerIndex