// // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace MUnique.OpenMU.GameLogic; using Microsoft.Extensions.ObjectPool; using MUnique.OpenMU.Pathfinding; /// /// The which implements the creation /// of the with an . /// public class PathFinderPoolingPolicy : PooledObjectPolicy { /// public override PathFinder Create() { return new PathFinder(new ScopedGridNetwork()); } /// public override bool Return(PathFinder obj) { return true; } }