22 #ifndef FIFE_MODEL_METAMODEL_ACTION_H 23 #define FIFE_MODEL_METAMODEL_ACTION_H 50 Action(
const std::string& identifier);
const std::string & getId()
Get the identifier for this action.
Action(const std::string &identifier)
Constructor Actions are created by calling addAction from object, thus this method should really be c...
ActionAudio * getAudio() const
Gets used audio.
Base class for all fife classes Used e.g.
virtual ~Action()
Destructor.
The class for holding audio data per Action.
void adoptAudio(ActionAudio *audio)
Sets audio to be used.
uint32_t getDuration()
Gets the duration of this action.
void setDuration(uint32_t duration)
Sets the duration for this action.
T * getVisual() const
Gets used visualization.
void adoptVisual(IVisual *visual)
Sets visualization to be used.