wavelength 1.0.0
Loading...
Searching...
No Matches
ShowAction Class Reference

The show and hide actions, which show or hide a drawable. More...

#include <showaction.h>

Inheritance diagram for ShowAction:
Collaboration diagram for ShowAction:

Public Member Functions

 ~ShowAction () override=default
 Destroy the object.
 ShowAction (DataArray *pAction, bool bShow)
 Read the action.
void Exec () override
 Show or hide the drawable.
Public Member Functions inherited from TriggerAction
virtual ~TriggerAction ()
 Release the action.
virtual bool Poll ()
 Advance an action that TriggerMgr::AddRunning() received.
void Start ()
 Run the action now, or schedule it when it has a delay.
float GetDelay () const
void SetDelay (float fDelay)
 Set the time on the clock of the action before Exec() runs.
int GetClock () const
void SetClock (int nClock)
 Set the TriggerMgr::Clock the action runs on.

Additional Inherited Members

Static Public Member Functions inherited from TriggerAction
static TriggerAction * New (DataArray *pAction)
 Build the action a node describes.
Static Protected Member Functions inherited from TriggerAction
template<class T>
static T * FindObject (DataArray *pAction, const char *pszName)
 Find a renderer object of a class by name, warning when there is none.

Detailed Description

The show and hide actions, which show or hide a drawable.

The RTTI records the class as deriving from TriggerAction. The object is 0x14 bytes. Node 1 names the drawable.

Constructor & Destructor Documentation

◆ ~ShowAction()

ShowAction::~ShowAction ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x00375278
Ghidra address:
PAL: 0x003e39a8

◆ ShowAction()

ShowAction::ShowAction ( DataArray * pAction,
bool bShow )

Read the action.

Parameters
pActionThe node.
bShowTrue for show, false for hide.
Ghidra address:
NTSC-U/C: 0x002020d0
Ghidra address:
PAL: 0x0020ae70

Member Function Documentation

◆ Exec()

void ShowAction::Exec ( )
overridevirtual

Show or hide the drawable.

Ghidra address:
NTSC-U/C: 0x00202e40
Ghidra address:
PAL: 0x0020bbe0

Implements TriggerAction.


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