C# Класс Sharpex2D.Input.Implementation.XInput.XInputGamepad

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Copy() публичный Метод

Copies the source.
public Copy ( XInputGamepad source ) : void
source XInputGamepad The Source.
Результат void

IsButtonPresent() публичный Метод

A value indicating whether the button is accessable on the gamepad.
public IsButtonPresent ( int buttonFlags ) : bool
buttonFlags int The ButtonFlags.
Результат bool

IsButtonPressed() публичный Метод

A value indicating whether the button was pressed.
public IsButtonPressed ( int buttonFlags ) : bool
buttonFlags int The ButtonFlags.
Результат bool