In file apps/mazed/me_spact.h:

class mzSpriteAction : public csBase

This class is used to store actions for 3D sprites

Inheritance:


Public Fields

char* Name
Name of this action

Public Methods

int& Delay(int iFrame)
Return a reference to given frame delay
char* FrameName(int iFrame)
Return given frame name
int Frames()
Return number of frames in action
mzSpriteAction(csSpriteAction *iAction)
Create a sprite action object from a csSpriteAction object
void NotifyFrameDeleted(char *iFrameName)
Notify action that a frame has been deleted
bool operator == (const mzSpriteAction &a)
Check if two actions are same
bool SetFrameName(int iFrame, char *iName)
Set given frame name
virtual ~mzSpriteAction()
Destroy a sprite action object

Private Fields

csVector Delays
Array of frame delays
csStrVector Names
Array of frame names

Inherited from csBase:


Documentation

This class is used to store actions for 3D sprites. An action is a specific sequence of frames with specific delays. Actions are kept in a csObjVector object in mz3DModel class.
csStrVector Names
Array of frame names

csVector Delays
Array of frame delays

char* Name
Name of this action

mzSpriteAction(csSpriteAction *iAction)
Create a sprite action object from a csSpriteAction object

virtual ~mzSpriteAction()
Destroy a sprite action object

void NotifyFrameDeleted(char *iFrameName)
Notify action that a frame has been deleted

bool operator == (const mzSpriteAction &a)
Check if two actions are same

int Frames()
Return number of frames in action

int& Delay(int iFrame)
Return a reference to given frame delay

char* FrameName(int iFrame)
Return given frame name

bool SetFrameName(int iFrame, char *iName)
Set given frame name


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de