first commit
This commit is contained in:
31
Minecraft.World/GlassTile.cpp
Normal file
31
Minecraft.World/GlassTile.cpp
Normal file
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user