diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-23 18:53:25 -0600 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-23 18:53:25 -0600 |
commit | 5a3b3a062862cdeee96b3ec4641ac684b28659f8 (patch) | |
tree | 2994bea3543c1bc694f18f2bc26b0459178759fa /src/entities/soldato.h | |
parent | a408b352f13df546b2262ca01cf162b60891cdae (diff) |
Soldato following
Diffstat (limited to 'src/entities/soldato.h')
-rw-r--r-- | src/entities/soldato.h | 8 |
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 |