]> git.localhorst.tv Git - l2e.git/blobdiff - src/common/Ikari.h
removed stupid file headers that eclipse put in
[l2e.git] / src / common / Ikari.h
index a5751063e7057472ee1d608d8e0c533c63151b89..201c601f3c6a0d128df815a957ded710a9b69463 100644 (file)
@@ -1,10 +1,3 @@
-/*
- * Ikari.h
- *
- *  Created on: Aug 10, 2012
- *      Author: holy
- */
-
 #ifndef COMMON_IKARI_H_
 #define COMMON_IKARI_H_
 
@@ -15,6 +8,9 @@ namespace common {
 // TODO: looks like Ikari and Spell have _quite_ a lot in common…
 class Ikari {
 
+public:
+       static const int TYPE_ID = 302;
+
 public:
        Ikari();
 
@@ -28,8 +24,6 @@ public:
        bool IsMagical() const { return !isPhysical; }
        bool IsPhysical() const { return isPhysical; }
 
-       // TODO: add missing ikari properties
-
 // temporary setters
 public:
        void SetName(const char *n) { name = n; }
@@ -37,10 +31,13 @@ public:
        void SetMagical() { isPhysical = false; }
        void SetPhysical() { isPhysical = true; }
 
+       static void CreateTypeDescription();
+       static void Construct(void *);
+
 private:
        const char *name;
 
-       Uint8 cost;
+       int cost;
        TargetingMode targetingMode;
 
        bool isPhysical;