Unity and Flutter apps Home Page
Work to create apps for generating revenue
Loading...
Searching...
No Matches
Key.OpenKeyAction Class Reference

Selects an object in the keyActionController and performs an action pregessively over a time period Open: Moves the object that was an obstical out of the way over a time period. More...

Inheritance diagram for Key.OpenKeyAction:
Key.IKeyAction

Public Member Functions

 OpenKeyAction (KeyActionController pKeyActionController)
float DoKeyAction (bool isActionStarted, float actionTime, float actionSpeed)
 This action moves the associated object out of the way over a number of frames when triggered Only does 'down' at the moment but could be extended.

Additional Inherited Members

Public Types inherited from Key.IKeyAction
enum  KeyActionEnum { Open , Reveal , WalkThrough }

Detailed Description

Selects an object in the keyActionController and performs an action pregessively over a time period Open: Moves the object that was an obstical out of the way over a time period.

Constructor & Destructor Documentation

◆ OpenKeyAction()

Key.OpenKeyAction.OpenKeyAction ( KeyActionController pKeyActionController)

Member Function Documentation

◆ DoKeyAction()

float Key.OpenKeyAction.DoKeyAction ( bool isActionStarted,
float actionTime,
float actionSpeed )

This action moves the associated object out of the way over a number of frames when triggered Only does 'down' at the moment but could be extended.

Parameters
isActionStarted
actionTime
actionSpeed
Returns

Implements Key.IKeyAction.


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