diff options
Diffstat (limited to 'src/client/playerview.h')
-rw-r--r-- | src/client/playerview.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client/playerview.h b/src/client/playerview.h index 300e9e5..66672cf 100644 --- a/src/client/playerview.h +++ b/src/client/playerview.h @@ -10,6 +10,7 @@ #include "client/chat.h" #include "client/buymenu.h" #include "client/entitymenu.h" +#include "client/inventory.h" #include "client/trademenu.h" #include "client/hud.h" #include "client/map.h" @@ -33,6 +34,9 @@ public: /// toggle map window void toggle_map(); + + /// toggle inventory window + void toggle_inventory(); /// togge chat window void toggle_chat(); @@ -52,6 +56,9 @@ public: inline Chat *chat() { return view_chat; } + inline Inventory *inventory() { + return view_inventory; + } inline Notifications *notify() { return view_notify; } @@ -68,6 +75,7 @@ private: HUD *view_hud; Chat *view_chat; Map *view_map; + Inventory *view_inventory; EntityMenu *view_entitymenu; BuyMenu *view_buymenu; |