wavelength 1.0.0
Loading...
Searching...
No Matches
showaction.h
Go to the documentation of this file.
1#pragma once
2
4#include "rnd/rnddrawable.h"
5#include "script/dataarray.h"
6
13class ShowAction : public TriggerAction {
14public:
21 ~ShowAction() override = default;
22
31 ShowAction(DataArray *pAction, bool bShow);
32
39 void Exec() override;
40
41private:
42 int mShow;
43 RndDrawable *mDrawable;
44};
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
ShowAction(DataArray *pAction, bool bShow)
Read the action.
void Exec() override
Show or hide the drawable.
~ShowAction() override=default
Destroy the object.
Something a trigger does when its conditions hold.
Definition triggeraction.h:15