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