C# Class XnaFlixel.data.FlxGamepad

Exibir arquivo Open project: jsbeckr/XnaFlixel

Public Properties

Property Type Description
GamePadWasConnected bool[]

Public Methods

Method Description
FlxGamepad ( ) : Microsoft.Xna.Framework
isButtonDown ( Buttons button ) : bool
isButtonDown ( Buttons button, PlayerIndex controllingPlayer, PlayerIndex &playerIndex ) : bool
isMenuCancel ( PlayerIndex controllingPlayer, PlayerIndex &playerIndex ) : bool
isMenuDown ( PlayerIndex controllingPlayer ) : bool
isMenuLeft ( PlayerIndex controllingPlayer ) : bool
isMenuRight ( PlayerIndex controllingPlayer ) : bool
isMenuSelect ( PlayerIndex controllingPlayer, PlayerIndex &playerIndex ) : bool
isMenuUp ( PlayerIndex controllingPlayer ) : bool
isNewButtonPress ( Buttons button ) : bool
isNewButtonPress ( Buttons button, PlayerIndex controllingPlayer, PlayerIndex &playerIndex ) : bool
isNewButtonRelease ( Buttons button ) : bool
isNewButtonRelease ( Buttons button, PlayerIndex controllingPlayer, PlayerIndex &playerIndex ) : bool
isNewThumbstickDown ( PlayerIndex controllingPlayer ) : bool
isNewThumbstickLeft ( PlayerIndex controllingPlayer ) : bool
isNewThumbstickRight ( PlayerIndex controllingPlayer ) : bool
isNewThumbstickUp ( PlayerIndex controllingPlayer ) : bool
isPauseGame ( PlayerIndex controllingPlayer ) : bool
reset ( ) : void
update ( ) : void

Method Details

FlxGamepad() public method

public FlxGamepad ( ) : Microsoft.Xna.Framework
return Microsoft.Xna.Framework

isButtonDown() public method

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

isButtonDown() public method

public isButtonDown ( Buttons button, PlayerIndex controllingPlayer, PlayerIndex &playerIndex ) : bool
button Buttons
controllingPlayer PlayerIndex
playerIndex PlayerIndex
return bool

isMenuCancel() public method

public isMenuCancel ( PlayerIndex controllingPlayer, PlayerIndex &playerIndex ) : bool
controllingPlayer PlayerIndex
playerIndex PlayerIndex
return bool

isMenuDown() public method

public isMenuDown ( PlayerIndex controllingPlayer ) : bool
controllingPlayer PlayerIndex
return bool

isMenuLeft() public method

public isMenuLeft ( PlayerIndex controllingPlayer ) : bool
controllingPlayer PlayerIndex
return bool

isMenuRight() public method

public isMenuRight ( PlayerIndex controllingPlayer ) : bool
controllingPlayer PlayerIndex
return bool

isMenuSelect() public method

public isMenuSelect ( PlayerIndex controllingPlayer, PlayerIndex &playerIndex ) : bool
controllingPlayer PlayerIndex
playerIndex PlayerIndex
return bool

isMenuUp() public method

public isMenuUp ( PlayerIndex controllingPlayer ) : bool
controllingPlayer PlayerIndex
return bool

isNewButtonPress() public method

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

isNewButtonPress() public method

public isNewButtonPress ( Buttons button, PlayerIndex controllingPlayer, PlayerIndex &playerIndex ) : bool
button Buttons
controllingPlayer PlayerIndex
playerIndex PlayerIndex
return bool

isNewButtonRelease() public method

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

isNewButtonRelease() public method

public isNewButtonRelease ( Buttons button, PlayerIndex controllingPlayer, PlayerIndex &playerIndex ) : bool
button Buttons
controllingPlayer PlayerIndex
playerIndex PlayerIndex
return bool

isNewThumbstickDown() public method

public isNewThumbstickDown ( PlayerIndex controllingPlayer ) : bool
controllingPlayer PlayerIndex
return bool

isNewThumbstickLeft() public method

public isNewThumbstickLeft ( PlayerIndex controllingPlayer ) : bool
controllingPlayer PlayerIndex
return bool

isNewThumbstickRight() public method

public isNewThumbstickRight ( PlayerIndex controllingPlayer ) : bool
controllingPlayer PlayerIndex
return bool

isNewThumbstickUp() public method

public isNewThumbstickUp ( PlayerIndex controllingPlayer ) : bool
controllingPlayer PlayerIndex
return bool

isPauseGame() public method

public isPauseGame ( PlayerIndex controllingPlayer ) : bool
controllingPlayer PlayerIndex
return bool

reset() public method

public reset ( ) : void
return void

update() public method

public update ( ) : void
return void

Property Details

GamePadWasConnected public_oe property

public bool[] GamePadWasConnected
return bool[]