summaryrefslogtreecommitdiff
path: root/src/resources/frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/frame.h')
-rw-r--r--src/resources/frame.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/resources/frame.h b/src/resources/frame.h
index 9359dba05..327a602a7 100644
--- a/src/resources/frame.h
+++ b/src/resources/frame.h
@@ -23,6 +23,8 @@
#ifndef RESOURCES_FRAME_H
#define RESOURCES_FRAME_H
+#include "enums/resources/frametype.h"
+
#include <string>
#include "localconsts.h"
@@ -34,21 +36,12 @@ class Image;
*/
struct Frame final
{
- enum FrameType
- {
- ANIMATION = 0,
- JUMP,
- GOTO,
- LABEL,
- PAUSE
- };
-
Image *image;
int delay;
int offsetX;
int offsetY;
int rand;
- FrameType type;
+ FrameTypeT type;
std::string nextAction;
};