aboutsummaryrefslogtreecommitdiff
path: root/src/entities/maresciallo.h
blob: a88910cdf7abf542332b84e03cc76f710dbe95a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#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_COOLDOWN 3.0
#define MARESCIALLO_BULLET_DAMAGE 0.01

typedef struct Maresciallo {
	EntityFlyToPointInfo flyToPoint;
	double timeSinceLastBulletShot;
} Maresciallo;

void initMaresciallo(Entity * entity, Game * game);
void closeMaresciallo(Entity * entity);
void updateMaresciallo(Game * game, Entity * entity);
void drawMaresciallo(Game * game, Entity * entity);

#endif