ScummVM API documentation
hpl::cActionKeyboard Class Reference
Inheritance diagram for hpl::cActionKeyboard:
hpl::iAction

Public Member Functions

 cActionKeyboard (tString asName, cInput *apInput, Common::KeyState key)
 
bool IsTriggerd ()
 
float GetValue ()
 
tString GetInputName ()
 
tString GetInputType ()
 
Common::KeyCode GetKey ()
 
int GetModifier ()
 
- Public Member Functions inherited from hpl::iAction
 iAction (tString asName)
 
bool WasTriggerd ()
 
bool BecameTriggerd ()
 
bool DoubleTriggerd (float afLimit)
 
void Update (float afTimeStep)
 
tString GetName ()
 
virtual void UpdateLogic (float afTimeStep)
 

Member Function Documentation

◆ IsTriggerd()

bool hpl::cActionKeyboard::IsTriggerd ( )
virtual

Filled in by the class that inherits from Action.

Returns
true if the action is being triggered

Implements hpl::iAction.

◆ GetValue()

float hpl::cActionKeyboard::GetValue ( )
virtual
Returns
A value from the input, ie the relative mouse x position.

Implements hpl::iAction.

◆ GetInputName()

tString hpl::cActionKeyboard::GetInputName ( )
virtual

The name of the input, ie for keyboard the name of the key is returned.

Implements hpl::iAction.

◆ GetInputType()

tString hpl::cActionKeyboard::GetInputType ( )
inlinevirtual

The name of the input type.

Implements hpl::iAction.


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