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

Public Member Functions | |
| RepeatActivity (Activity &activity, 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... | |
An activity to run an activity several times.
| gf::RepeatActivity::RepeatActivity | ( | Activity & | activity, | 
| unsigned | repeat = 0  | 
        ||
| ) | 
Constructor.
| activity | The activity to run serveral times | 
| 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