aboutsummaryrefslogtreecommitdiff
path: root/src/game/enemy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/enemy.h')
-rw-r--r--src/game/enemy.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/game/enemy.h b/src/game/enemy.h
new file mode 100644
index 0000000..4e82e92
--- /dev/null
+++ b/src/game/enemy.h
@@ -0,0 +1,29 @@
+#pragma once
+
+#include "../gunner/config.h"
+
+typedef enum{
+ ENEMY_AMANITA = 0,
+ ENEMY_FELTICIA = 1,
+ ENEMY_FLATWOODS = 2,
+ ENEMY_SQUARE = 3,
+ ENEMY_GANGSTER = 4,
+ ENEMY_FROG = 5,
+ ENEMY_HANAKO = 6,
+ ENEMY_DOVER = 7,
+ ENEMY_JERSEY = 8,
+ ENEMY_MOTHMAN = 9,
+ ENEMY_SACKMAN = 10,
+ ENEMY_SIZE
+}EnemyType;
+
+typedef struct{
+ const char* name;
+ u8 enemy_type;
+ i8 health;
+ i8 mana;
+}Enemy;
+
+void add_enemy(const EnemyType type);
+void damage_enemy(const u8 loc, const i8 dmg);
+bool check_active_enemies(void); \ No newline at end of file