summaryrefslogtreecommitdiffstats
path: root/src/GameState.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-02-03 13:17:25 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-02-03 13:17:25 +0100
commit23ead8155bb2721f007ccd2c93eba488e1da3007 (patch)
tree67c242b1850355e8a3d9b7ab2db0593df79a7ad0 /src/GameState.hpp
parentImplemented Position type serialization (diff)
downloadAltCraft-23ead8155bb2721f007ccd2c93eba488e1da3007.tar
AltCraft-23ead8155bb2721f007ccd2c93eba488e1da3007.tar.gz
AltCraft-23ead8155bb2721f007ccd2c93eba488e1da3007.tar.bz2
AltCraft-23ead8155bb2721f007ccd2c93eba488e1da3007.tar.lz
AltCraft-23ead8155bb2721f007ccd2c93eba488e1da3007.tar.xz
AltCraft-23ead8155bb2721f007ccd2c93eba488e1da3007.tar.zst
AltCraft-23ead8155bb2721f007ccd2c93eba488e1da3007.zip
Diffstat (limited to 'src/GameState.hpp')
-rw-r--r--src/GameState.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/GameState.hpp b/src/GameState.hpp
index 7145df5..0bc8cfd 100644
--- a/src/GameState.hpp
+++ b/src/GameState.hpp
@@ -27,6 +27,8 @@ public:
enum Direction {
FORWARD, BACKWARD, LEFT, RIGHT, JUMP
};
+ void StartDigging();
+ void StopDigging();
void HandleMovement(GameState::Direction direction, float deltaTime);
void HandleRotation(double yaw, double pitch);
glm::mat4 GetViewMatrix();
@@ -58,4 +60,6 @@ public:
Window playerInventory;
std::vector<Window> openedWindows;
+
+ Vector selectedBlock;
};