aboutsummaryrefslogtreecommitdiff
path: root/src/enemies/boomknight.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/enemies/boomknight.h')
-rw-r--r--src/enemies/boomknight.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/enemies/boomknight.h b/src/enemies/boomknight.h
new file mode 100644
index 0000000..b93d31f
--- /dev/null
+++ b/src/enemies/boomknight.h
@@ -0,0 +1,27 @@
+#ifndef BOOMKNIGHT_H
+#define BOOMKNIGHT_H
+
+typedef struct {
+ int id;
+ int hp;
+ int blink;
+ double x, y;
+ int dir;
+ double imageIndex;
+ int state, timer;
+} Boomknight;
+
+void createBoomknight(int x, int y);
+
+typedef struct {
+ int id;
+ int dir;
+ double x, y;
+ double hsp;
+ double imageIndex;
+ int timer;
+} Boom;
+
+void createBoom(int x, int y, int dir);
+
+#endif \ No newline at end of file