Added ui labels for debugging and playability
This commit is contained in:
21
UI/Label.cs
Normal file
21
UI/Label.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user