aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Input.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/Input.h')
-rw-r--r--Minecraft.Client/Input.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/Minecraft.Client/Input.h b/Minecraft.Client/Input.h
new file mode 100644
index 00000000..0a44d765
--- /dev/null
+++ b/Minecraft.Client/Input.h
@@ -0,0 +1,22 @@
+#pragma once
+class Player;
+
+class Input
+{
+public:
+ float xa;
+ float ya;
+
+ bool wasJumping;
+ bool jumping;
+ bool sneaking;
+
+ Input(); // 4J - added
+
+ virtual void tick(LocalPlayer *player);
+
+private:
+
+ bool lReset;
+ bool rReset;
+}; \ No newline at end of file