diff options
Diffstat (limited to 'src/enemies/poisonknight.h')
-rw-r--r-- | src/enemies/poisonknight.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/enemies/poisonknight.h b/src/enemies/poisonknight.h new file mode 100644 index 0000000..13350d0 --- /dev/null +++ b/src/enemies/poisonknight.h @@ -0,0 +1,26 @@ +#ifndef POISONKNIGHT_H +#define POISONKNIGHT_H + +typedef struct { + int id; + int hp; + double x, y; + double imageIndex; + int dir; + int blink; + int timer; + int state; +} Poisonknight; + +void createPoisonknight(int x, int y); + +typedef struct { + int id; + double x, y; + int dir; + double imageIndex; +} Goop; + +void createGoop(int x, int y, int dir); + +#endif
\ No newline at end of file |