C# Class Pokemon3D.Common.Input.InputSystem

Datei anzeigen Open project: nilllzz/Pokemon3D Class Usage Examples

Public Methods

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

Private Methods

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

Method Details

Accept() public method

public Accept ( AcceptInputTypes inputTypes ) : bool
inputTypes AcceptInputTypes
return bool

Dismiss() public method

public Dismiss ( DismissInputTypes inputTypes ) : bool
inputTypes DismissInputTypes
return bool

Down() public method

public Down ( InputDetectionType detectionType, DirectionalInputTypes inputTypes ) : bool
detectionType InputDetectionType
inputTypes DirectionalInputTypes
return bool

InputSystem() public method

public InputSystem ( ) : Microsoft.Xna.Framework.Input
return Microsoft.Xna.Framework.Input

Left() public method

public Left ( InputDetectionType detectionType, DirectionalInputTypes inputTypes ) : bool
detectionType InputDetectionType
inputTypes DirectionalInputTypes
return bool

Right() public method

public Right ( InputDetectionType detectionType, DirectionalInputTypes inputTypes ) : bool
detectionType InputDetectionType
inputTypes DirectionalInputTypes
return bool

Up() public method

public Up ( InputDetectionType detectionType, DirectionalInputTypes inputTypes ) : bool
detectionType InputDetectionType
inputTypes DirectionalInputTypes
return bool

Update() public method

public Update ( ) : void
return void