DoopelPonger
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SingleInputChecker Class Referenceabstract

InputChecker to call the trigger every frame with the state of the action. More...

Inheritance diagram for SingleInputChecker:
Inheritance graph
[legend]
Collaboration diagram for SingleInputChecker:
Collaboration graph
[legend]

Public Member Functions

 SingleInputChecker (InputManager.InputTriggerOption inputTriggerOption, InputActionMapper.Action action, InputManager.ButtonPressTrigger trigger, string tag)
 
override InputCheckerAction GetCheckerAction ()
 Method called every Update tick to see if the inputTriggerOption should be actived. More...
 
- Public Member Functions inherited from InputChecker
 InputChecker (InputManager.InputTriggerOption inputTriggerOption, string tag)
 
abstract string GetIdentifierString ()
 

Public Attributes

readonly InputManager.ButtonPressTrigger trigger
 
- Public Attributes inherited from InputChecker
readonly string tag
 
readonly InputManager.InputTriggerOption inputTriggerOption
 

Protected Member Functions

abstract InputCheckerAction GetFixedUpdateActionFromKeyState (bool keyCodeState)
 

Additional Inherited Members

- Protected Attributes inherited from InputChecker
InputActionMapper inputActionMapper
 

Detailed Description

InputChecker to call the trigger every frame with the state of the action.

Constructor & Destructor Documentation

◆ SingleInputChecker()

SingleInputChecker.SingleInputChecker ( InputManager.InputTriggerOption  inputTriggerOption,
InputActionMapper.Action  action,
InputManager.ButtonPressTrigger  trigger,
string  tag 
)

Member Function Documentation

◆ GetCheckerAction()

override InputCheckerAction SingleInputChecker.GetCheckerAction ( )
virtual

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

Returns
A function to call in the next FixedUpdate.

Implements InputChecker.

◆ GetFixedUpdateActionFromKeyState()

abstract InputCheckerAction SingleInputChecker.GetFixedUpdateActionFromKeyState ( bool  keyCodeState)
protectedpure virtual

Member Data Documentation

◆ trigger

readonly InputManager.ButtonPressTrigger SingleInputChecker.trigger

Callback to notify of the action state.


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