C# Класс Sharpex2D.Input.GamepadState

Показать файл Открыть проект

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

Метод Описание
IsPressed ( GamepadButtons button ) : bool

A value indicating whether the specified button is pressed.

Приватные методы

Метод Описание
GamepadState ( bool dpadUp, bool dpadDown, bool dpadLeft, bool dpadRight, bool aPressed, bool bPressed, bool yPressed, bool xPressed, bool backPressed, bool startPressed, bool leftShoulder, bool rightShoulder, bool leftStick, bool rightStick, bool guide, float leftTrigger, float rightTrigger, Vector2 thumbLeft, Vector2 thumbRight ) : System.Collections.Generic

Initializes a new GamepadState class.

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

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

A value indicating whether the specified button is pressed.
public IsPressed ( GamepadButtons button ) : bool
button GamepadButtons The GamepadButton.
Результат bool