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

Public Member Functions

 Move (Vec2 offset, std::function< float(float)>)
 
Action step () override
 
void beginDraw () const override
 
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 }
 

Detailed Description

Definition at line 86 of file effects.hpp.

Inheritance diagram for Move:
[legend]
Collaboration diagram for Move:
[legend]

Member Function Documentation

◆ step()

Action step ( )
overridevirtual

Implements Effect.

◆ beginDraw()

void beginDraw ( ) const
overridevirtual

Implements Effect.

◆ endDraw()

void endDraw ( ) const
overridevirtual

Implements Effect.


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