]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Animation/Animation.h
Removed empty destructors. Joint::label is a bodypart
[lugaru.git] / Source / Animation / Animation.h
index 4ed5dbefa88926c21a36b38c3be1d43e48ec21d9..4a74c5c1d0afbcdacb0fc8d9e0ad04319b75bd0d 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,6 @@ public:
     XYZ offset;
 
     Animation();
-    Animation(const std::string& fileName, int aheight, int aattack);
-    ~Animation();
+    Animation(const std::string& fileName, anim_height_type aheight, anim_attack_type aattack);
 };
 #endif