using System; namespace DotRecast.Detour.Extras.Jumplink { public class PolyQueryInvoker : IDtPolyQuery { public readonly Action _callback; public PolyQueryInvoker(Action callback) { _callback = callback; } public void Process(DtMeshTile tile, DtPoly poly, long refs) { _callback?.Invoke(tile, poly, refs); } } }