diff options
Diffstat (limited to 'src/game/base/npc.h')
-rw-r--r-- | src/game/base/npc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/base/npc.h b/src/game/base/npc.h index 8139c9a..68620e1 100644 --- a/src/game/base/npc.h +++ b/src/game/base/npc.h @@ -81,6 +81,11 @@ public: * @brief factory function for wingman NPCs * */ static NPC *add_wingman(Ship *leader); + + /** + * @brief aim at closest enemy in range, returns target + * */ + Ship *target_closest_enemy(); private: Mood npc_mood; |