#include <action.h>
Public Methods | |
| KrAction (SDL_RWops *data) | |
| Create the action by reading from a file. Used by the sprite constructor. | |
| const std::string & | Name () const |
| Each action has a name (ex, "Walking"). | |
| U32 | Id () const |
| Each action has a unique id. (ex, WALKING). | |
| int | NumFrames () const |
| Total number of frames. | |
| const KrRle & | Frame (int i) const |
| Get a frame. | |
| KrCanvasResource * | CreateCanvasResource (int frame, int *hotx, int *hoty) |
| A strange -- but sometimes useful function. More... | |
|
||||||||||||||||
|
A strange -- but sometimes useful function. Creates a canvas from this action and returns it. |
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001