]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Animation/Animation.h
Using the right type for animation height and type
[lugaru.git] / Source / Animation / Animation.h
index 4ed5dbefa88926c21a36b38c3be1d43e48ec21d9..91bdd4ce80bdb6fa75b9124d064f696bc1cb6b8d 100644 (file)
@@ -84,8 +84,8 @@ public:
     static std::vector<Animation> animations;
     static void loadAll();
 
-    int height;
-    int attack;
+    anim_height_type height;
+    anim_attack_type attack;
     int numjoints;
 
     std::vector<AnimationFrame> frames;
@@ -93,7 +93,7 @@ public:
     XYZ offset;
 
     Animation();
-    Animation(const std::string& fileName, int aheight, int aattack);
+    Animation(const std::string& fileName, anim_height_type aheight, anim_attack_type aattack);
     ~Animation();
 };
 #endif