#include "gameCommon.h" #include "entity.h" #ifndef MARESCIALLO_H #define MARESCIALLO_H #define MARESCIALLO_CIRCLE_AT_DIS 200.0 // 200.0 #define MARESCIALLO_COME_BACK_AT_DIS 250.0 #define MARESCIALLO_ROTATION_SPEED 20.0 #define MARESCIALLO_CIRCLE_PLAYER_SPEED 1.0 #define MARESCIALLO_BULLET_COOLDOWN 3.0 #define MARESCIALLO_BULLET_DAMAGE 0.01 #define MARESCIALLO_CHANGE_OF_HIT 10 #define MARESCIALLO_MISSILE_COOLDOWN 0.5 typedef struct Maresciallo { EntityFlyToPointInfo flyToPoint; double timeSinceLastBulletShot; double timeSinceLastMissileShot; } Maresciallo; void initMaresciallo(Entity * entity, Game * game); void closeMaresciallo(Entity * entity); void updateMaresciallo(Game * game, Entity * entity); void drawMaresciallo(Game * game, Entity * entity); #endif