diff options
author | nathansmithsmith <nathansmith7@mailfence.com> | 2023-09-13 18:34:03 -0600 |
---|---|---|
committer | nathansmithsmith <nathansmith7@mailfence.com> | 2023-09-13 18:34:03 -0600 |
commit | 3b22489413553e837a7da437b2c3cd69823095ab (patch) | |
tree | 903c69c5f0ada44e915212657eb97d082c8dbd00 /src/entities/maresciallo.h | |
parent | 7d4d948dfa92416c802229b1c444a44785ee2a0c (diff) |
maresciallo gun and missile stuff in different procedures
Diffstat (limited to 'src/entities/maresciallo.h')
-rw-r--r-- | src/entities/maresciallo.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/entities/maresciallo.h b/src/entities/maresciallo.h index a88910c..d1d17af 100644 --- a/src/entities/maresciallo.h +++ b/src/entities/maresciallo.h @@ -9,12 +9,16 @@ #define MARESCIALLO_ROTATION_SPEED 20.0 #define MARESCIALLO_CIRCLE_PLAYER_SPEED 1.0 -#define MARESCIALLO_COOLDOWN 3.0 +#define MARESCIALLO_BULLET_COOLDOWN 3.0 #define MARESCIALLO_BULLET_DAMAGE 0.01 +#define MARESCIALLO_CHANGE_OF_HIT 10 + +#define MARESCIALLO_MISSILE_COOLDOWN 3.0 typedef struct Maresciallo { EntityFlyToPointInfo flyToPoint; double timeSinceLastBulletShot; + double timeSinceLastMissileShot; } Maresciallo; void initMaresciallo(Entity * entity, Game * game); |