![]() |
Gamedev Framework (gf)
0.11.0
A C++14 framework for 2D games
|
A repeated sequence activity. More...
#include <gf/Activities.h>

Public Member Functions | |
| RepeatedSequenceActivity (unsigned repeat=0) | |
| Constructor. More... | |
| virtual ActivityStatus | run (Time time) override |
| Run the activity. More... | |
| virtual void | restart () override |
| Restart the activity. More... | |
Public Member Functions inherited from gf::Activity | |
| virtual | ~Activity () |
| Destructor. More... | |
A repeated sequence activity.
This is a convenient combination of gf::SequenceActivity and gf::RepeatActivity.
| gf::RepeatedSequenceActivity::RepeatedSequenceActivity | ( | unsigned | repeat = 0 | ) |
Constructor.
| repeat | The number of time to repeat the activity or 0 for infinite |
|
overridevirtual |
Restart the activity.
Reimplemented from gf::Activity.
|
overridevirtual |
Run the activity.
| time | The time since the last run |
Implements gf::Activity.
1.8.13