JNGL
Easy to use cross-platform 2D game library
|
Base class for effects that can be applied to jngl::Widget. More...
#include <jngl/effects.hpp>
Public Types | |
enum class | Action : uint8_t { NONE , REMOVE_EFFECT , REMOVE_WIDGET } |
Public Member Functions | |
virtual Action | step ()=0 |
virtual void | beginDraw () const =0 |
virtual void | endDraw () const =0 |
virtual void | updateModelview (Mat3 &modelview) const |
Called before drawing the widget. | |
Base class for effects that can be applied to jngl::Widget.
Definition at line 16 of file effects.hpp.
|
strong |
Definition at line 18 of file effects.hpp.
|
pure virtual |
Implemented in Executor.
|
virtual |
Called before drawing the widget.
Reimplemented in UpdateModelview.