From 3f0be672f9c5a07a98be0dc703b95f1bbe73f33e Mon Sep 17 00:00:00 2001
From: nathansmithsmith <thenathansmithsmith@gmail.com>
Date: Sun, 9 Jul 2023 00:53:10 -0600
Subject: Mouse control working

---
 src/entities/antifaShip.h | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'src/entities/antifaShip.h')

diff --git a/src/entities/antifaShip.h b/src/entities/antifaShip.h
index a1b97d2..61d843c 100644
--- a/src/entities/antifaShip.h
+++ b/src/entities/antifaShip.h
@@ -4,9 +4,14 @@
 #ifndef ANTIFA_SHIP_H
 #define ANTIFA_SHIP_H
 
+typedef struct AntifaShip {
+	Vector2 lastMouse;
+	float forwardSpeed;
+} AntifaShip;
+
 void initAntifaShip(Entity * entity, Game * game);
 void closeAntifaShip(Entity * entity);
-void updateAntifaShip(Game * game, Entity * entity, EntityId id);
-void drawAntifaShip(Game * game, Entity * entity, EntityId id);
+void updateAntifaShip(Game * game, Entity * entity);
+void drawAntifaShip(Game * game, Entity * entity);
 
 #endif
-- 
cgit v1.2.3