--- /dev/null
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+# Add inputs and outputs from these tool invocations to the build variables
+CPP_SRCS += \
+../src/battle/Monster.cpp
+
+OBJS += \
+./src/battle/Monster.o
+
+CPP_DEPS += \
+./src/battle/Monster.d
+
+
+# Each subdirectory must supply rules for building sources it contributes
+src/battle/%.o: ../src/battle/%.cpp
+ @echo 'Building file: $<'
+ @echo 'Invoking: GCC C++ Compiler'
+ g++ -I/usr/include/SDL -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
+ @echo 'Finished building: $<'
+ @echo ' '
+
+
--- /dev/null
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+# Add inputs and outputs from these tool invocations to the build variables
+CPP_SRCS += \
+../src/battle/Monster.cpp
+
+OBJS += \
+./src/battle/Monster.o
+
+CPP_DEPS += \
+./src/battle/Monster.d
+
+
+# Each subdirectory must supply rules for building sources it contributes
+src/battle/%.o: ../src/battle/%.cpp
+ @echo 'Building file: $<'
+ @echo 'Invoking: GCC C++ Compiler'
+ g++ -I/usr/include/SDL -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
+ @echo 'Finished building: $<'
+ @echo ' '
+
+
--- /dev/null
+/*
+ * Monster.h
+ *
+ * Created on: Aug 3, 2012
+ * Author: holy
+ */
+
+#ifndef BATTLE_MONSTER_H_
+#define BATTLE_MONSTER_H_
+
+#include <SDL.h>
+
+namespace battle {
+
+class Monster {
+
+public:
+ Monster();
+ ~Monster();
+
+public:
+ const char *Name() const { return name; }
+ Uint8 Level() const { return level; }
+ const /* Sprite */ void *Sprite() const { return sprite; }
+
+ Uint16 MaxHealth() const { return maxHealth; }
+ Uint16 Health() const { return health; }
+ int RelativeHealth(int max) { return health * max / maxHealth; }
+
+ Uint16 MaxMana() const { return maxMana; }
+ Uint16 Mana() const { return mana; }
+ int RelativeMana(int max) { return mana * max / maxMana; }
+
+ Uint16 Attack() const { return attack; }
+ Uint16 Defense() const { return defense; }
+ Uint16 Agility() const { return agility; }
+ Uint16 Intelligence() const { return intelligence; }
+ Uint16 Gut() const { return gut; }
+ Uint16 MagicResistance() const { return magicResistance; }
+
+ Uint16 ExpReward() const { return expReward; }
+ Uint16 GoldReward() const { return goldReward; }
+
+ const /* Item */ void *DropItem() const { return dropItem; }
+ Uint8 DropChance() const { return dropChance; }
+
+ const /* Script */ void *AttackScript() { return attackScript; }
+ const /* Script */ void *DefenseScript() { return defenseScript; }
+
+private:
+ const char *name;
+ /* Sprite */ void *sprite;
+ /* Item */ void *dropItem;
+ /* Script */ void *attackScript;
+ /* Script */ void *defenseScript;
+
+ Uint16 maxHealth, health;
+ Uint16 maxMana, mana;
+
+ Uint16 attack;
+ Uint16 defense;
+ Uint16 agility;
+ Uint16 intelligence;
+ Uint16 gut;
+ Uint16 magicResistance;
+
+ Uint16 expReward, goldReward;
+
+ Uint8 level;
+ Uint8 dropChance;
+
+};
+
+}
+
+#endif /* BATTLE_MONSTER_H_ */