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

Public Member Functions

 cActionMouseButton (tString asName, cInput *apInput, eMButton mButton)
 
bool IsTriggerd ()
 
float GetValue ()
 
tString GetInputName ()
 
tString GetInputType ()
 
eMButton GetButton ()
 
- 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::cActionMouseButton::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::cActionMouseButton::GetValue ( )
virtual
Returns
A value from the input, ie the relative mouse x position.

Implements hpl::iAction.

◆ GetInputName()

tString hpl::cActionMouseButton::GetInputName ( )
virtual

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

Implements hpl::iAction.

◆ GetInputType()

tString hpl::cActionMouseButton::GetInputType ( )
inlinevirtual

The name of the input type.

Implements hpl::iAction.


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