![]() |
Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
|
A gf::SequenceActivity that holds its activities. More...
#include <gf/Activities.h>
Public Member Functions | |
SequenceActivityEx (Args... activities) | |
Constructor. More... | |
ActivityStatus | run (Time time) override |
Run the activity. More... | |
void | restart () override |
Restart the activity. More... | |
![]() | |
virtual | ~Activity () |
Destructor. More... | |
virtual ActivityStatus | run (Time time)=0 |
Run the activity. More... | |
virtual void | restart () |
Restart the activity. More... | |
A gf::SequenceActivity that holds its activities.
|
inline |
Constructor.
activities | The activities of the sequence |
|
inlineoverridevirtual |
Restart the activity.
Reimplemented from gf::Activity.
|
inlineoverridevirtual |
Run the activity.
time | The time since the last run |
Implements gf::Activity.