7-21-25 @ 3:17 am
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user