diff options
Diffstat (limited to 'src/enemies/ghoul.h')
-rw-r--r-- | src/enemies/ghoul.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/enemies/ghoul.h b/src/enemies/ghoul.h new file mode 100644 index 0000000..fd6db3a --- /dev/null +++ b/src/enemies/ghoul.h @@ -0,0 +1,22 @@ +#ifndef GHOUL_H +#define GHOUL_H + +#include "../collision.h" + +typedef struct { + int id; + int hp; + double x, y; + double vsp, grav; + int type; + int onground; + int dir; + int state, timer, invincible; + double imageIndex; + + Mask mask; +} Ghoul; + +void createGhoul(int x, int y, int type); + +#endif
\ No newline at end of file |