wavelength 1.0.0
Loading...
Searching...
No Matches
showingcondition.h
Go to the documentation of this file.
1#pragma once
2
4#include "rnd/rnddrawable.h"
5#include "script/dataarray.h"
6
14public:
21 ~ShowingCondition() override = default;
22
30 explicit ShowingCondition(DataArray *pCondition);
31
39 bool Test() override {
40 return mDrawable->GetShowing() != 0;
41 }
42
43private:
44 RndDrawable *mDrawable;
45};
Reference-counted array of script data nodes.
Definition dataarray.h:20
Mix-in for an object that draws itself and then a list of other drawables.
Definition rnddrawable.h:16
ShowingCondition(DataArray *pCondition)
Read the condition.
~ShowingCondition() override=default
Destroy the object.
bool Test() override
Test the condition.
Definition showingcondition.h:39
A test a trigger makes before its actions start.
Definition triggercondition.h:11