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 : uint8_t { 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 14 of file effects.hpp.

Inheritance diagram for Effect:
[legend]

Member Enumeration Documentation

◆ Action

enum class Action : uint8_t
strong

Definition at line 16 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: