public VoxelTypeDefinition(VoxelType type, int maxHealth, bool isSolid, bool isVisible) { Type = type; MaxHealth = maxHealth; IsSolid = isSolid; IsVisible = isVisible; UVTopX = 0; UVTopY = 0; UVSideX = 0; UVSideY = 0; UVBottomX = 0; UVBottomY = 0; UVSet = new VoxelUVSet(); }
public VoxelTypeDefinition(VoxelType type, int maxHealth, bool isSolid, bool isVisible, bool isBreakable) { Type = type; MaxHealth = maxHealth; IsSolid = isSolid; IsVisible = isVisible; IsBreakable = isBreakable; UVTopX = 0; UVTopY = 0; UVSideX = 0; UVSideY = 0; UVBottomX = 0; UVBottomY = 0; UVSet = new VoxelUVSet(); }