C# Класс Afterglow.Input.InputDeviceBase

Base class for input devices which stores the configuration for registered buttons.
Наследование: IInputDevice
Показать файл Открыть проект

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

Метод Описание
On ( Button button ) : IButtonState

Starts a configuration for a button press.

Update ( ) : void

Updates the input device.

Защищенные методы

Метод Описание
CheckDownButton ( Button button ) : void

Checks whether the button which is down was registered for an action and executes the action.

CheckReleasedButton ( Button button ) : void

Checks whether the released button was pressed and was registered for an action and executes the action.

InputDeviceBase ( ) : System.Collections.Generic

Initializes a new instance of the InputDeviceBase class.

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

CheckDownButton() защищенный Метод

Checks whether the button which is down was registered for an action and executes the action.
protected CheckDownButton ( Button button ) : void
button Button The button.
Результат void

CheckReleasedButton() защищенный Метод

Checks whether the released button was pressed and was registered for an action and executes the action.
protected CheckReleasedButton ( Button button ) : void
button Button The button.
Результат void

InputDeviceBase() защищенный Метод

Initializes a new instance of the InputDeviceBase class.
protected InputDeviceBase ( ) : System.Collections.Generic
Результат System.Collections.Generic

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

Starts a configuration for a button press.
public On ( Button button ) : IButtonState
button Button The button.
Результат IButtonState

Update() публичный абстрактный Метод

Updates the input device.
public abstract Update ( ) : void
Результат void