C# Class Sharpex2D.Input.Implementation.XInput.XInputGamepad

ファイルを表示 Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method Description
Copy ( XInputGamepad source ) : void

Copies the source.

IsButtonPresent ( int buttonFlags ) : bool

A value indicating whether the button is accessable on the gamepad.

IsButtonPressed ( int buttonFlags ) : bool

A value indicating whether the button was pressed.

Method Details

Copy() public method

Copies the source.
public Copy ( XInputGamepad source ) : void
source XInputGamepad The Source.
return void

IsButtonPresent() public method

A value indicating whether the button is accessable on the gamepad.
public IsButtonPresent ( int buttonFlags ) : bool
buttonFlags int The ButtonFlags.
return bool

IsButtonPressed() public method

A value indicating whether the button was pressed.
public IsButtonPressed ( int buttonFlags ) : bool
buttonFlags int The ButtonFlags.
return bool