aboutsummaryrefslogtreecommitdiff
path: root/src/entities/soldato.h
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-07-23 18:53:25 -0600
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-07-23 18:53:25 -0600
commit5a3b3a062862cdeee96b3ec4641ac684b28659f8 (patch)
tree2994bea3543c1bc694f18f2bc26b0459178759fa /src/entities/soldato.h
parenta408b352f13df546b2262ca01cf162b60891cdae (diff)
Soldato following
Diffstat (limited to 'src/entities/soldato.h')
-rw-r--r--src/entities/soldato.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/entities/soldato.h b/src/entities/soldato.h
index f93206d..460c799 100644
--- a/src/entities/soldato.h
+++ b/src/entities/soldato.h
@@ -7,6 +7,12 @@
typedef struct Soldato {
EntityFlyToPointInfo flyToPoint;
+
+ EntityId leaderId;
+ EntityFingerprint leaderFingerprint;
+
+ EntityId followerId;
+ EntityFingerprint followerFingerprint;
} Soldato;
void initSoldato(Entity * entity, Game * game);
@@ -14,4 +20,6 @@ void closeSoldato(Entity * entity);
void updateSoldato(Game * game, Entity * entity);
void drawSoldato(Game * game, Entity * entity);
+void setSoldatoLeader(Entity * entity1, Entity * entity2);
+
#endif