DoopelPonger
Public Member Functions | Public Attributes | Protected Attributes | List of all members
InputChecker Class Referenceabstract
Inheritance diagram for InputChecker:
Inheritance graph
[legend]
Collaboration diagram for InputChecker:
Collaboration graph
[legend]

Public Member Functions

 InputChecker (InputManager.InputTriggerOption inputTriggerOption, string tag)
 
abstract InputCheckerAction GetCheckerAction ()
 Method called every Update tick to see if the inputTriggerOption should be actived. More...
 
abstract string GetIdentifierString ()
 

Public Attributes

readonly string tag
 
readonly InputManager.InputTriggerOption inputTriggerOption
 

Protected Attributes

InputActionMapper inputActionMapper
 

Constructor & Destructor Documentation

◆ InputChecker()

InputChecker.InputChecker ( InputManager.InputTriggerOption  inputTriggerOption,
string  tag 
)

Member Function Documentation

◆ GetCheckerAction()

abstract InputCheckerAction InputChecker.GetCheckerAction ( )
pure virtual

Method called every Update tick to see if the inputTriggerOption should be actived.

Returns
A function to call in the next FixedUpdate.

Implemented in MovementInputChecker, ReleaseInputChecker, SinglePressInputChecker, SingleInputChecker, ContinuousPressInputChecker, and FirstFrameBlockerInputChecker.

◆ GetIdentifierString()

abstract string InputChecker.GetIdentifierString ( )
pure virtual
Returns
Unique identifier for the type of input the child object is checking.

Implemented in MovementInputChecker, SinglePressInputChecker, ReleaseInputChecker, ContinuousPressInputChecker, and FirstFrameBlockerInputChecker.

Member Data Documentation

◆ inputActionMapper

InputActionMapper InputChecker.inputActionMapper
protected

◆ inputTriggerOption

readonly InputManager.InputTriggerOption InputChecker.inputTriggerOption

The input trigger that the input checker should be looking for in the GetCheckerAction method.

◆ tag

readonly string InputChecker.tag

Unique string sent to the InputManager when registering the action, will correspond with the inputTriggerOption


The documentation for this class was generated from the following file: