aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/BoundingBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/BoundingBox.h')
-rw-r--r--Minecraft.World/BoundingBox.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Minecraft.World/BoundingBox.h b/Minecraft.World/BoundingBox.h
index 23abd66d..ac29883f 100644
--- a/Minecraft.World/BoundingBox.h
+++ b/Minecraft.World/BoundingBox.h
@@ -1,11 +1,14 @@
#pragma once
+#include "ArrayWithLength.h"
+
class BoundingBox
{
public:
int x0, y0, z0, x1, y1, z1;
BoundingBox();
+ BoundingBox(intArray sourceData);
static BoundingBox *getUnknownBox();
static BoundingBox *orientBox(int footX, int footY, int footZ, int offX, int offY, int offZ, int width, int height, int depth, int orientation);
BoundingBox(BoundingBox *other);
@@ -28,4 +31,5 @@ public:
int getZCenter();
wstring toString();
+ IntArrayTag *createTag(const wstring &name);
}; \ No newline at end of file