JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Effect Class Referenceabstract

Base class for effects that can be applied to jngl::Widget. More...

#include <jngl/effects.hpp>

Public Types

enum class  Action { NONE , REMOVE_EFFECT , REMOVE_WIDGET }
 

Public Member Functions

virtual Action step ()=0
 
virtual void beginDraw () const =0
 
virtual void endDraw () const =0
 

Detailed Description

Base class for effects that can be applied to jngl::Widget.

Definition at line 13 of file effects.hpp.

Inheritance diagram for Effect:
[legend]

Member Enumeration Documentation

◆ Action

enum class Action
strong

Definition at line 15 of file effects.hpp.

Member Function Documentation

◆ beginDraw()

virtual void beginDraw ( ) const
pure virtual

Implemented in Executor.


The documentation for this class was generated from the following file: