![]()  | 
  
    Gamedev Framework (gf)
    0.9.0
    
   A C++14 framework for 2D games 
   | 
 
An activity to run several activities sequentially. More...
#include <gf/Activities.h>

Public Member Functions | |
| SequenceActivity () | |
| Constructor.  More... | |
| void | addActivity (Activity &activity) | 
| Add an activity to the sequence.  More... | |
| void | clear () | 
| Remove all the activities.  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... | |
An activity to run several activities sequentially.
| gf::SequenceActivity::SequenceActivity | ( | ) | 
Constructor.
| void gf::SequenceActivity::addActivity | ( | Activity & | activity | ) | 
Add an activity to the sequence.
| activity | The activity | 
| void gf::SequenceActivity::clear | ( | ) | 
Remove all the activities.
      
  | 
  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