aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/BlockDestructionProgress.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/BlockDestructionProgress.h')
-rw-r--r--Minecraft.World/BlockDestructionProgress.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/Minecraft.World/BlockDestructionProgress.h b/Minecraft.World/BlockDestructionProgress.h
new file mode 100644
index 00000000..4c599e83
--- /dev/null
+++ b/Minecraft.World/BlockDestructionProgress.h
@@ -0,0 +1,24 @@
+#pragma once
+
+class BlockDestructionProgress
+{
+private:
+ int id;
+ int x;
+ int y;
+ int z;
+ int progress;
+ int updatedRenderTick;
+
+public:
+ BlockDestructionProgress(int id, int x, int y, int z);
+
+ int getId();
+ int getX();
+ int getY();
+ int getZ();
+ void setProgress(int progress);
+ int getProgress();
+ void updateTick(int tick);
+ int getUpdatedRenderTick();
+}; \ No newline at end of file