C# Class MagicalFPS.Input.JoystickHandOperationChecker

Inheritance: IHandOperationChecker
Afficher le fichier Open project: kyasbal-1994/MagicalFPS

Méthodes publiques

Méthode Description
JoystickHandOperationChecker ( GameContext context, int index, IJoystickKeyConfig keyConfig = null ) : System
getMovementVector ( ) : System.Vector2
isAcceptButtonPressed ( ) : bool
isCancelButtonPressed ( ) : bool
isJumpButtonPressed ( ) : bool
isSitButtonPressed ( ) : bool

Method Details

JoystickHandOperationChecker() public méthode

public JoystickHandOperationChecker ( GameContext context, int index, IJoystickKeyConfig keyConfig = null ) : System
context GameContext
index int
keyConfig IJoystickKeyConfig
Résultat System

getMovementVector() public méthode

public getMovementVector ( ) : System.Vector2
Résultat System.Vector2

isAcceptButtonPressed() public méthode

public isAcceptButtonPressed ( ) : bool
Résultat bool

isCancelButtonPressed() public méthode

public isCancelButtonPressed ( ) : bool
Résultat bool

isJumpButtonPressed() public méthode

public isJumpButtonPressed ( ) : bool
Résultat bool

isSitButtonPressed() public méthode

public isSitButtonPressed ( ) : bool
Résultat bool