diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-09 03:13:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-09 03:13:43 +0300 |
commit | 3968453eb82521f6ab3966ff1dc08cd0c803d359 (patch) | |
tree | f1bec30f7e0baeb119cbb987873a5c5749cc119f /src/resources/animation.h | |
parent | 73ff0a5f6b3fe6b26df14eb1dae413a26d002bbb (diff) | |
download | mv-3968453eb82521f6ab3966ff1dc08cd0c803d359.tar.gz mv-3968453eb82521f6ab3966ff1dc08cd0c803d359.tar.bz2 mv-3968453eb82521f6ab3966ff1dc08cd0c803d359.tar.xz mv-3968453eb82521f6ab3966ff1dc08cd0c803d359.zip |
Add enum to animation actions support.
Diffstat (limited to 'src/resources/animation.h')
-rw-r--r-- | src/resources/animation.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/animation.h b/src/resources/animation.h index 9ec8396af..5130bc8dd 100644 --- a/src/resources/animation.h +++ b/src/resources/animation.h @@ -35,10 +35,17 @@ class Image; */ struct Frame { + enum FrameType + { + ANIMATION = 0, + JUMP, + LABEL + }; Image *image; int delay; int offsetX; int offsetY; + FrameType type; std::string nextAction; }; |