Action Class Reference

#include <action.h>

List of all members.


Detailed Description

An action consists of several animations, one for each direction.

Definition at line 34 of file action.h.


Public Member Functions

 Action ()
 ~Action ()
void setAnimation (int direction, Animation *animation)
AnimationgetAnimation (int direction) const

Protected Types

typedef std::map< int,
Animation * > 
Animations
typedef Animations::iterator AnimationIterator

Protected Attributes

Animations mAnimations

Member Typedef Documentation

typedef std::map<int, Animation*> Action::Animations [protected]

Definition at line 46 of file action.h.

typedef Animations::iterator Action::AnimationIterator [protected]

Definition at line 47 of file action.h.


Constructor & Destructor Documentation

Action::Action (  ) 

Definition at line 28 of file action.cpp.

Action::~Action (  ) 

Definition at line 32 of file action.cpp.


Member Function Documentation

void Action::setAnimation ( int  direction,
Animation animation 
)

Definition at line 49 of file action.cpp.

Animation * Action::getAnimation ( int  direction  )  const

Definition at line 37 of file action.cpp.


Member Data Documentation

Definition at line 48 of file action.h.


The documentation for this class was generated from the following files:

Generated on Sun Apr 26 17:30:43 2009 for The Mana World by  doxygen 1.5.5