|
SDL2lazy
|
#include <SlEventHandler.h>

Public Member Functions | |
| void | act (std::vector< std::string > additionalParams) |
Public Attributes | |
| SlManipulation * | manipulation = nullptr |
| std::string | name = "" |
| int | destination = 0 |
| std::vector< std::string > | parameters |
This describes a single action that will be taken as a result of an input.
| void SlEventAction::act | ( | std::vector< std::string > | additionalParams | ) |
Calls the SlManipulation
| int SlEventAction::destination = 0 |
The sprite's destination. Warning: have to think of something if one SlEventAction changes the destination number.
| SlManipulation* SlEventAction::manipulation = nullptr |
The manipulation object that handles the action.
| std::string SlEventAction::name = "" |
The sprite on which the manipulation will act.
| std::vector<std::string> SlEventAction::parameters |
The parameters with which the SlManipulation is called.
1.8.9.1