blob: e9c78bd20095aafd04312e0f1d1df04fc52ab5ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#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;
bool shouldInitMousePosition;
} AntifaShip;
void initAntifaShip(Entity * entity, Game * game);
void closeAntifaShip(Entity * entity);
void updateAntifaShip(Game * game, Entity * entity);
void drawAntifaShip(Game * game, Entity * entity);
#endif
|