diff options
Diffstat (limited to 'src/beingmanager.h')
-rw-r--r-- | src/beingmanager.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/beingmanager.h b/src/beingmanager.h index 7fd63afe..f2f8eb6d 100644 --- a/src/beingmanager.h +++ b/src/beingmanager.h @@ -24,6 +24,8 @@ #include "being.h" +#include "gui/widgets/textfield.h" + class LocalPlayer; class Map; @@ -122,12 +124,18 @@ class BeingManager */ void clear(); - void getPlayerNames(std::vector<std::string> &names, - bool npcNames); + AutoCompleteLister *getPlayerNameLister(); + + AutoCompleteLister *getPlayerNPCNameLister(); void updatePlayerNames(); protected: + friend class PlayerNamesLister; + friend class PlayerNPCNamesLister; + + AutoCompleteLister *mPlayerNames; + AutoCompleteLister *mPlayerNPCNames; Beings mBeings; Map *mMap; }; |