MVVM rebuild complete

This commit is contained in:
Nitload
2024-07-30 09:37:25 +08:00
parent da75200347
commit d082071f2d
68 changed files with 2690 additions and 762 deletions
@@ -53,7 +53,7 @@ namespace StgSharp.Controls
buttonList = new List<TriggerButton>();
}
public override ReadOnlySpan<vec4d> TextureBox
public ReadOnlySpan<vec4d> TextureBox
{
get => throw new NotSupportedException();
}
@@ -63,6 +63,12 @@ namespace StgSharp.Controls
get => current;
}
public vec2d Position { get; set; }
public Rectangle BoundingBox { get; set; }
public bool IsEntity { get => false; }
protected List<TriggerButton> AllButton
{
get => buttonList;
@@ -75,7 +81,7 @@ namespace StgSharp.Controls
public abstract void Confirm();
public override IEnumerator<PlainGeometryMesh> GetEnumerator()
public IEnumerator<PlainGeometryMesh> GetEnumerator()
{
foreach (TriggerButton item in buttonList)
{