]> git.localhorst.tv Git - blank.git/blobdiff - src/ui/Interface.hpp
per block type "gravity"
[blank.git] / src / ui / Interface.hpp
index aa040a1ede174e63a20708bdb1208fe0118e4896..9a6e927407b212f24063817bda98e2ce1e1b718d 100644 (file)
@@ -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;
+
 };
 
 }