Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

ActionBundle Class Reference

#include <CSSprite.h>


Public Member Functions

 ActionBundle ()
 ~ActionBundle ()

Data Fields

CSActionsmActions
 all actions belonging to this sprite

CSActionmDefaultAction
 default action

int stateId


Constructor & Destructor Documentation

ActionBundle::ActionBundle  )  [inline]
 

< all actions belonging to this sprite

< default action

Definition at line 135 of file CSSprite.h.

References mActions, and mDefaultAction.

00136         {
00137             mActions = 0;           //!< all actions belonging to this sprite
00138             mDefaultAction = 0;     //!< default action
00139             stateId = 0;
00140         }

ActionBundle::~ActionBundle  )  [inline]
 

< Actions are singletons -> do not delete them

Definition at line 142 of file CSSprite.h.

References mActions, and mDefaultAction.

00143         {
00144             if (mActions != 0)
00145             {
00146                 //!< Actions are singletons -> do not delete them 
00147                 delete mActions;
00148                 mActions = 0;
00149             }
00150             mDefaultAction = 0;
00151         }


Field Documentation

CSActions* ActionBundle::mActions
 

all actions belonging to this sprite

Definition at line 131 of file CSSprite.h.

Referenced by ActionBundle(), CSSprite::next(), CSSprite::reactOnMessage(), and ~ActionBundle().

CSAction* ActionBundle::mDefaultAction
 

default action

Definition at line 132 of file CSSprite.h.

Referenced by ActionBundle(), CSSprite::buildState(), CSSprite::next(), CSSprite::resetState(), and ~ActionBundle().

int ActionBundle::stateId
 

Definition at line 133 of file CSSprite.h.


Generated on Wed Jul 14 00:43:45 2004 for CSLib by doxygen 1.3.6