islaApocalypse/Core/Scripts/BlockData.cs
beezm 7f0f43b5fb baseline: working salvaged prototype on Godot 4.7.1 (pre-F1)
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-05 01:45:41 -04:00

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;
}
}
}