Gamedev Framework (gf)  0.3.0
A C++11 framework for 2D games
Public Member Functions | List of all members
gf::ActionContainer Class Reference

A set of actions. More...

#include <gf/Action.h>

Public Member Functions

void addAction (Action &action)
 Add an action. More...
 
void processEvent (const Event &event)
 Update all the actions. More...
 
void reset ()
 Reset all the actions. More...
 

Detailed Description

A set of actions.

Member Function Documentation

void gf::ActionContainer::addAction ( Action action)

Add an action.

Parameters
actionthe action to add to the set.
void gf::ActionContainer::processEvent ( const Event event)

Update all the actions.

Parameters
eventthe event to update the actions.
See also
Action;:processEvent()
void gf::ActionContainer::reset ( )

Reset all the actions.

See also
Action::reset()