first commit
This commit is contained in:
12
Minecraft.World/PortalMaterial.h
Normal file
12
Minecraft.World/PortalMaterial.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
#include "Material.h"
|
||||
|
||||
class PortalMaterial : public Material
|
||||
{
|
||||
public:
|
||||
PortalMaterial(MaterialColor *color) : Material(color) { }
|
||||
|
||||
virtual bool isSolid() { return false; }
|
||||
virtual bool blocksLight() { return false; }
|
||||
virtual bool blocksMotion() { return false; }
|
||||
};
|
||||
Reference in New Issue
Block a user