Exemple #1
0
 private IntVec3 GetLinkTargetCell(IntVec3 cell, RegionLink link)
 {
     return(RegionCostCalculator.LinkClosestCell(cell, link));
 }
Exemple #2
0
        private int MinimumRegionLinkDistance(IntVec3 cell, RegionLink link)
        {
            IntVec3 intVec = cell - RegionCostCalculator.LinkClosestCell(cell, link);

            return(this.OctileDistance(Math.Abs(intVec.x), Math.Abs(intVec.z)));
        }