7-21-25 @ 3:17 am

This commit is contained in:
2025-07-21 03:17:09 -04:00
parent ea03cc152a
commit f351f0ade9
13 changed files with 375 additions and 164 deletions

View File

@@ -14,7 +14,7 @@ public partial class ActorPanel : Panel
newActorPanel.SetSprite(newActorPanel._actor.GetNode<Sprite2D>("Sprite").Texture);
newActorPanel.SetMax(newActorPanel._actor._healthMax);
newActorPanel.SetValue(newActorPanel._actor._health);
newActorPanel.SetPosition(new Vector2(50, 300));
newActorPanel.SetPosition(new Vector2(50, 50));
return newActorPanel;
}
@@ -41,12 +41,10 @@ public partial class ActorPanel : Panel
private void OnMouseEntered()
{
_hovered = true;
GD.Print(_hovered);
}
private void OnMouseExited()
{
_hovered = false;
GD.Print(_hovered);
}
}