libsuit  0.1.1
SFML User Interface Toolkit
Public Member Functions | List of all members
ui::ActionSet Class Reference

A set of actions. More...

#include <ui/Action.h>

Inheritance diagram for ui::ActionSet:
Inheritance graph
[legend]

Public Member Functions

void addAction (std::shared_ptr< Action > action)
 Add an action. More...
 
void update (const sf::Event &event)
 Update all the actions. More...
 
void reset ()
 Reset all the actions. More...
 

Detailed Description

A set of actions.

Member Function Documentation

void ui::ActionSet::addAction ( std::shared_ptr< Action action)

Add an action.

Parameters
actionthe action to add to the set.
void ui::ActionSet::reset ( )

Reset all the actions.

See also
Action::reset()
void ui::ActionSet::update ( const sf::Event &  event)

Update all the actions.

Parameters
eventthe event to update the actions.
See also
Action;:update()