aboutsummaryrefslogtreecommitdiff
path: root/src/enemies/jellyfish.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/enemies/jellyfish.h')
-rw-r--r--src/enemies/jellyfish.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/enemies/jellyfish.h b/src/enemies/jellyfish.h
new file mode 100644
index 0000000..c247fe3
--- /dev/null
+++ b/src/enemies/jellyfish.h
@@ -0,0 +1,16 @@
+#ifndef JELLYFISH_H
+#define JELLYFISH_H
+
+typedef struct {
+ int id;
+ double x, y;
+ int ystart;
+ double spd;
+ double angle;
+ int state;
+ double imageIndex;
+} Jellyfish;
+
+void createJellyfish(int x, int y);
+
+#endif \ No newline at end of file