aboutsummaryrefslogtreecommitdiff
path: root/src/entities/soldato.h
diff options
context:
space:
mode:
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