예제 #1
0
        public TileNavigator(
            IBlockedProvider blockedProvider,
            INeighborProvider neighborProvider,
            IDistanceAlgorithm distanceAlgorithm,
            IDistanceAlgorithm heuristicAlgorithm)
        {
            this.blockedProvider  = blockedProvider;
            this.neighborProvider = neighborProvider;

            this.distanceAlgorithm  = distanceAlgorithm;
            this.heuristicAlgorithm = heuristicAlgorithm;
        }