#ifndef ENTITY_Gun_H #define ENTITY_Gun_H #include "../entity.h" #include "../world.h" #define SHOOT_N 1 #define SHOOT_E 2 #define SHOOT_S 3 #define SHOOT_W 4 typedef struct { int projectileId; int direction; int fuse; int currentFuse; int inpact; } Gun; entity* CreateGun(int direction,int bullet, world* w); int GunUpdate(int, void*); int GunInit(void*); int GunFree(void*); #endif // ENTITY_Gun_H