wavelength
1.0.0
Loading...
Searching...
No Matches
dyingcondition.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
game/triggercondition.h
"
4
#include "
game/triggermgr.h
"
5
11
class
DyingCondition
:
public
TriggerCondition
{
12
public
:
19
~DyingCondition
()
override
=
default
;
20
28
bool
Test
()
override
{
29
return
TheTriggerMgr
.GetDying(
TheTriggerMgr
.GetPlayer()) != 0;
30
}
31
};
DyingCondition
The dying condition, which holds while the current player is dying.
Definition
dyingcondition.h:11
DyingCondition::~DyingCondition
~DyingCondition() override=default
Destroy the object.
DyingCondition::Test
bool Test() override
Test the condition.
Definition
dyingcondition.h:28
TriggerCondition
A test a trigger makes before its actions start.
Definition
triggercondition.h:11
triggercondition.h
triggermgr.h
TheTriggerMgr
TriggerMgr TheTriggerMgr
The trigger registry.
src
game
dyingcondition.h
Generated by
1.15.0