public abstract void Store(AbstractPathfinder pathfinder);
public override void Store(AbstractPathfinder obj) { obj.Clear(); _objectStack.Enqueue(obj as T); }
private static void Store <T>(AbstractPathfinder pathfinder) where T : AbstractPathfinder, new() { GetPool <T>().Store(pathfinder); }