C# Class MagicalFPS.Input.JoystickHandOperationChecker

Inheritance: IHandOperationChecker
显示文件 Open project: kyasbal-1994/MagicalFPS

Public Methods

Method 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 method

public JoystickHandOperationChecker ( GameContext context, int index, IJoystickKeyConfig keyConfig = null ) : System
context GameContext
index int
keyConfig IJoystickKeyConfig
return System

getMovementVector() public method

public getMovementVector ( ) : System.Vector2
return System.Vector2

isAcceptButtonPressed() public method

public isAcceptButtonPressed ( ) : bool
return bool

isCancelButtonPressed() public method

public isCancelButtonPressed ( ) : bool
return bool

isJumpButtonPressed() public method

public isJumpButtonPressed ( ) : bool
return bool

isSitButtonPressed() public method

public isSitButtonPressed ( ) : bool
return bool