aboutsummaryrefslogtreecommitdiff
path: root/src/enemies/devil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/enemies/devil.h')
-rw-r--r--src/enemies/devil.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/enemies/devil.h b/src/enemies/devil.h
new file mode 100644
index 0000000..3b6d67d
--- /dev/null
+++ b/src/enemies/devil.h
@@ -0,0 +1,28 @@
+#ifndef DEVIL_H
+#define DEVIL_H
+
+typedef struct {
+ int id;
+ double x, y;
+ double ystart, newystart;
+ double hsp;
+ int hp;
+ int state, timer;
+ int blink;
+ int boblen, bobspd;
+ double tailangle, bobcounter, rotcounter, rotspd;
+ double imageIndex;
+} Devil;
+
+void createDevil(int x, int y);
+
+typedef struct {
+ int id;
+ double x, y;
+ double dir;
+ double imageIndex;
+} Orb;
+
+void createOrb(int x, int y, double dir);
+
+#endif \ No newline at end of file