aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/GlassTile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/GlassTile.cpp')
-rw-r--r--Minecraft.World/GlassTile.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/Minecraft.World/GlassTile.cpp b/Minecraft.World/GlassTile.cpp
new file mode 100644
index 00000000..d3e7f68f
--- /dev/null
+++ b/Minecraft.World/GlassTile.cpp
@@ -0,0 +1,31 @@
+#include "stdafx.h"
+#include "GlassTile.h"
+
+GlassTile::GlassTile(int id, Material *material, bool allowSame) : HalfTransparentTile(id, L"glass", material, allowSame)
+{
+}
+
+int GlassTile::getResourceCount(Random *random)
+{
+ return 0;
+}
+
+int GlassTile::getRenderLayer()
+{
+ return 0;
+}
+
+bool GlassTile::isSolidRender()
+{
+ return false;
+}
+
+bool GlassTile::isCubeShaped()
+{
+ return false;
+}
+
+bool GlassTile::isSilkTouchable()
+{
+ return true;
+} \ No newline at end of file