Added ui labels for debugging and playability

This commit is contained in:
2026-04-22 17:18:15 +02:00
parent a324ff0d16
commit e1778fb446
8 changed files with 110 additions and 13 deletions

21
UI/Label.cs Normal file
View File

@@ -0,0 +1,21 @@
using OpenTK.Mathematics;
namespace Voxel.UI {
public class Label
{
public string Text;
public float X;
public float Y;
public float Size;
public Vector4 Color;
public Label(string text, float x, float y, float size, Vector4 color)
{
Text = text;
X = x;
Y = y;
Size = size;
Color = color;
}
}
}