|
Mana
|
An action consists of several animations, one for each direction. More...
#include <action.h>
Public Member Functions | |
| Action () | |
| ~Action () | |
| void | setAnimation (int direction, Animation *animation) |
| Animation * | getAnimation (int direction) const |
Protected Attributes | |
| std::map< int, Animation * > | mAnimations |
An action consists of several animations, one for each direction.
|
default |
| Action::~Action | ( | ) |
Definition at line 30 of file action.cpp.
| Animation * Action::getAnimation | ( | int | direction | ) | const |
Definition at line 35 of file action.cpp.
| void Action::setAnimation | ( | int | direction, |
| Animation * | animation | ||
| ) |
Definition at line 47 of file action.cpp.