using Godot; public partial class CaptureUI : CanvasLayer { [Export] public float BaseTimeLimit = 3.0f; [Export] public float BaseRequired = 14.0f; // “energy” required [Export] public float EnergyPerPress = 1.0f; private Creature? _target; private SaveManager? _save; private float _timeLeft; private float _required; private float _energy; private OptionButton _ballOption = null!; private ProgressBar _bar = null!; private Label _timer = null!; private Label _title = null!; public override void _Ready() { _ballOption = GetNode("Panel/VBoxContainer/SoulballOption"); _bar = GetNode("Panel/VBoxContainer/MashBar"); _timer = GetNode