-/*
- * Ikari.h
- *
- * Created on: Aug 10, 2012
- * Author: holy
- */
-
#ifndef COMMON_IKARI_H_
#define COMMON_IKARI_H_
// TODO: looks like Ikari and Spell have _quite_ a lot in common…
class Ikari {
+public:
+ static const int TYPE_ID = 302;
+
public:
Ikari();
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; }
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;
}
-#endif /* COMMON_IKARI_H_ */
+#endif