aboutsummaryrefslogtreecommitdiff
path: root/src/enemies/thwomp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/enemies/thwomp.h')
-rw-r--r--src/enemies/thwomp.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/enemies/thwomp.h b/src/enemies/thwomp.h
new file mode 100644
index 0000000..87edebc
--- /dev/null
+++ b/src/enemies/thwomp.h
@@ -0,0 +1,18 @@
+#ifndef THWOMP_H
+#define THWOMP_H
+
+//#include "../collision.h"
+
+typedef struct {
+ int id;
+ double x, y;
+ double vsp, grav;
+ double imageIndex;
+ int type, state, timer, dir;
+ int hp, blink;
+ int delay;
+} Thwomp;
+
+void createThwomp(int x, int y, int type, int offset, int delay, int dir);
+
+#endif \ No newline at end of file