20 lines
410 B
C#
20 lines
410 B
C#
using Godot;
|
|
|
|
namespace IslaApocalypse.Core
|
|
{
|
|
public struct BlockData
|
|
{
|
|
public byte ID;
|
|
public string Name;
|
|
public bool IsSolid;
|
|
public Color BaseColor; // We use color for now; later we replace this with Texture Array IDs for the Shader
|
|
|
|
public BlockData(byte id, string name, bool isSolid, Color baseColor)
|
|
{
|
|
ID = id;
|
|
Name = name;
|
|
IsSolid = isSolid;
|
|
BaseColor = baseColor;
|
|
}
|
|
}
|
|
}
|