X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2FInterface.hpp;h=9a6e927407b212f24063817bda98e2ce1e1b718d;hb=ed3bdc028edc0ecb5835d1c0bf18dbc59b342daf;hp=aa040a1ede174e63a20708bdb1208fe0118e4896;hpb=b066e776622f96e906600a0c4a08de392bd03676;p=blank.git diff --git a/src/ui/Interface.hpp b/src/ui/Interface.hpp index aa040a1..9a6e927 100644 --- a/src/ui/Interface.hpp +++ b/src/ui/Interface.hpp @@ -20,6 +20,9 @@ public: void SetInventorySlots(int num) { num_slots = num; } + void Lock(); + void Unlock(); + void HandlePress(const SDL_KeyboardEvent &); void HandleRelease(const SDL_KeyboardEvent &); void Handle(const SDL_MouseMotionEvent &); @@ -39,9 +42,10 @@ private: ClientController &client_ctrl; glm::ivec3 fwd, rev; - int slot; int num_slots; + bool locked; + }; }