C# Class ControllerPlayerInput, Albatross

Inheritance: PlayerInput
Mostra file Open project: xby2/Albatross

Public Properties

Property Type Description
controllerNumber int

Public Methods

Method Description
ControllerPlayerInput ( int _controllerNumber ) : System

Register the controller as player input

getActionHold ( ) : bool
getActionPressDown ( ) : bool
getHorizontalAxis ( ) : float
getName ( ) : string
getVerticalAxis ( ) : float

Method Details

ControllerPlayerInput() public method

Register the controller as player input
public ControllerPlayerInput ( int _controllerNumber ) : System
_controllerNumber int Number of the controller to recieve input from
return System

getActionHold() public method

public getActionHold ( ) : bool
return bool

getActionPressDown() public method

public getActionPressDown ( ) : bool
return bool

getHorizontalAxis() public method

public getHorizontalAxis ( ) : float
return float

getName() public method

public getName ( ) : string
return string

getVerticalAxis() public method

public getVerticalAxis ( ) : float
return float

Property Details

controllerNumber public_oe property

public int controllerNumber
return int