JNGL
Easy to use cross-platform 2D game library
|
Executes a specific action, e.g. removes the Widget. More...
#include <jngl/effects.hpp>
Public Member Functions | |
Executor (std::function< Action(float)>) | |
Action | step () override |
void | beginDraw () const override |
Does nothing. | |
void | endDraw () const override |
Public Member Functions inherited from Effect | |
virtual void | updateModelview (Mat3 &modelview) const |
Called before drawing the widget. | |
Additional Inherited Members | |
Public Types inherited from Effect | |
enum class | Action : uint8_t { NONE , REMOVE_EFFECT , REMOVE_WIDGET } |
Executes a specific action, e.g. removes the Widget.
Definition at line 72 of file effects.hpp.
|
overridevirtual |
Implements Effect.
|
overridevirtual |
Does nothing.
Implements Effect.
|
overridevirtual |
Implements Effect.