aboutsummaryrefslogtreecommitdiff
path: root/src/entities/antifaShip.h
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-07-09 00:53:10 -0600
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-07-09 00:53:10 -0600
commit3f0be672f9c5a07a98be0dc703b95f1bbe73f33e (patch)
treeaeb7776878e3460f7ba1f33cf2c0d195eb45f2c5 /src/entities/antifaShip.h
parentb92adb44b618db0272819cb77e5727441c566838 (diff)
Mouse control working
Diffstat (limited to 'src/entities/antifaShip.h')
-rw-r--r--src/entities/antifaShip.h9
1 files changed, 7 insertions, 2 deletions
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