using Godot; public partial class GameRoot : Node { public static GameRoot Instance { get; private set; } = null!; public event System.Action? CaptureRequested; public override void _EnterTree() { Instance = this; } public void RequestCapture(Creature creature) => CaptureRequested?.Invoke(creature); }