blob: 15a3c2942928def004f26d572a7a30b04b3d206f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
#include "Material.h"
class LiquidMaterial : public Material
{
public:
LiquidMaterial(MaterialColor *color) : Material(color) { replaceable(); destroyOnPush(); }
virtual bool isLiquid() { return true; }
virtual bool blocksMotion() { return false; }
virtual bool isSolid() { return false; }
};
|