aboutsummaryrefslogtreecommitdiff
path: root/src/entities/antifaShip.h
blob: 06ef094bdc08ba82ee33d7371d696668653477fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "gameCommon.h"
#include "entity.h"

#ifndef ANTIFA_SHIP_H
#define ANTIFA_SHIP_H

#define ANTIFA_SHIP_MAX_SPEED 200.0

typedef struct AntifaShip {
	Vector2 lastMouse;
	float forwardSpeed;
} AntifaShip;

void initAntifaShip(Entity * entity, Game * game);
void closeAntifaShip(Entity * entity);
void updateAntifaShip(Game * game, Entity * entity);
void drawAntifaShip(Game * game, Entity * entity);

#endif