Initial release: HSUI v1.0.0.0 - HUD replacement with configurable hotbars
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using HSUI.Config;
|
||||
using System.Numerics;
|
||||
|
||||
namespace HSUI.Interface.Bars
|
||||
{
|
||||
public class Rect
|
||||
{
|
||||
public Vector2 Position { get; set; }
|
||||
|
||||
public Vector2 Size { get; set; }
|
||||
|
||||
public PluginConfigColor Color { get; set; }
|
||||
|
||||
public Rect(Vector2 pos, Vector2 size, PluginConfigColor? color = null)
|
||||
{
|
||||
Position = pos;
|
||||
Size = size;
|
||||
Color = color ?? new PluginConfigColor(new(0, 0, 0, 0));
|
||||
}
|
||||
|
||||
public Rect() : this(new(0, 0), new(0, 0), new PluginConfigColor(new(0, 0, 0, 0))) { }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user