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

The powerup condition, which compares a powerup with TriggerMgr::mPowerup. More...

#include <powerupcondition.h>

Inheritance diagram for PowerupCondition:
Collaboration diagram for PowerupCondition:

Public Member Functions

 ~PowerupCondition () override=default
 Destroy the object.
 PowerupCondition (DataArray *pCondition)
bool Test () override
 Test the condition.
Public Member Functions inherited from TriggerCondition
virtual ~TriggerCondition ()
 Release the condition.
int GetNegate () const
void SetNegate (int nNegate)
 Set whether the trigger needs the condition to be false.

Additional Inherited Members

Static Public Member Functions inherited from TriggerCondition
static TriggerCondition * New (DataArray *pCondition)
 Build the condition a node describes.

Detailed Description

The powerup condition, which compares a powerup with TriggerMgr::mPowerup.

The RTTI records the class as deriving from TriggerCondition. The object is 0xc bytes. Node 1 is the powerup. No event of the shipped build writes the value it tests.

Constructor & Destructor Documentation

◆ ~PowerupCondition()

PowerupCondition::~PowerupCondition ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x00376418
Ghidra address:
PAL: 0x003e4b48

◆ PowerupCondition()

PowerupCondition::PowerupCondition ( DataArray * pCondition)
inlineexplicit

Member Function Documentation

◆ Test()

bool PowerupCondition::Test ( )
inlineoverridevirtual

Test the condition.

Returns
Whether the condition holds.
Ghidra address:
NTSC-U/C: 0x00376498
Ghidra address:
PAL: 0x003e4bc8

Implements TriggerCondition.


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