using AceField.Scripts.Logic; using Godot; namespace AceField.Scripts.UI; public partial class HUD : Control { [Export] public World World; private void ApplySize() { var screenSize = GetViewportRect().Size; Position = new Vector2(0, 0); Size = screenSize; GetNode("TopBox").Size = new Vector2(screenSize.X - 16 * 2, 16); } public override void _Process(double delta) { var roundBar = GetNode("BottomBox/ProgressBar"); roundBar.Value = World.RoundProgress * 100; var roundLabel = GetNode