C# Класс Pokemon3D.Common.Input.InputSystem

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

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

Метод Описание
Accept ( AcceptInputTypes inputTypes ) : bool
Dismiss ( DismissInputTypes inputTypes ) : bool
Down ( InputDetectionType detectionType, DirectionalInputTypes inputTypes ) : bool
InputSystem ( ) : Microsoft.Xna.Framework.Input
Left ( InputDetectionType detectionType, DirectionalInputTypes inputTypes ) : bool
Right ( InputDetectionType detectionType, DirectionalInputTypes inputTypes ) : bool
Up ( InputDetectionType detectionType, DirectionalInputTypes inputTypes ) : bool
Update ( ) : void

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

Метод Описание
ChangePressedDirection ( InputDirection newDirection ) : void
CheckDirectional ( InputDetectionType detectionType, InputDirection direction, DirectionalInputTypes inputTypes, Keys arrowKey, Keys WASDKey, Buttons leftThumbstick, Buttons rightThumbstick, Buttons dPadDirection ) : bool
CheckDirectionalHeldDown ( DirectionalInputTypes inputTypes, Keys arrowKey, Keys WASDKey, Buttons leftThumbstick, Buttons rightThumbstick, Buttons dPadDirection ) : bool
CheckDirectionalPressedOnce ( InputDirection direction, DirectionalInputTypes inputTypes, Keys arrowKey, Keys WASDKey, Buttons leftThumbstick, Buttons rightThumbstick, Buttons dPadDirection ) : bool
CheckDirectionalReleased ( DirectionalInputTypes inputTypes, Keys arrowKey, Keys WASDKey, Buttons leftThumbstick, Buttons rightThumbstick, Buttons dPadDirection ) : bool
HoldDownPress ( InputDirection direction ) : bool
ResetPressedDirection ( InputDirection direction ) : void

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

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

public Accept ( AcceptInputTypes inputTypes ) : bool
inputTypes AcceptInputTypes
Результат bool

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

public Dismiss ( DismissInputTypes inputTypes ) : bool
inputTypes DismissInputTypes
Результат bool

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

public Down ( InputDetectionType detectionType, DirectionalInputTypes inputTypes ) : bool
detectionType InputDetectionType
inputTypes DirectionalInputTypes
Результат bool

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

public InputSystem ( ) : Microsoft.Xna.Framework.Input
Результат Microsoft.Xna.Framework.Input

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

public Left ( InputDetectionType detectionType, DirectionalInputTypes inputTypes ) : bool
detectionType InputDetectionType
inputTypes DirectionalInputTypes
Результат bool

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

public Right ( InputDetectionType detectionType, DirectionalInputTypes inputTypes ) : bool
detectionType InputDetectionType
inputTypes DirectionalInputTypes
Результат bool

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

public Up ( InputDetectionType detectionType, DirectionalInputTypes inputTypes ) : bool
detectionType InputDetectionType
inputTypes DirectionalInputTypes
Результат bool

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

public Update ( ) : void
Результат void