]> git.localhorst.tv Git - l2e.git/blobdiff - src/common/Item.h
changed Frame implementation
[l2e.git] / src / common / Item.h
index ffa50e32f116ff09d61c3e0da3d8cb0077970588..279235572768662e820ea60b3fd15533f31a099a 100644 (file)
@@ -8,22 +8,20 @@
 #ifndef COMMON_ITEM_H_
 #define COMMON_ITEM_H_
 
+#include "fwd.h"
 #include "HeroGroup.h"
 #include "TargetingMode.h"
+#include "../graphics/fwd.h"
 
 #include <SDL.h>
 
-namespace graphics {
-       class Animation;
-       class Sprite;
-}
-
 namespace common {
 
-class Ikari;
-
 class Item {
 
+public:
+       static const int TYPE_ID = 303;
+
 public:
        Item();
 
@@ -89,6 +87,7 @@ public:
        void SetAttackAnimation(graphics::Animation *a) { attackAnimation = a; }
 
        static void CreateTypeDescription();
+       static void Construct(void *);
 
 private:
        enum Equipable {