示例#1
0
文件: Road.cs 项目: alenkacz/Expanze
 public void SetTownNeighbours(TownModel one, TownModel two)
 {
     neighbour[0] = one;
     neighbour[1] = two;
 }
示例#2
0
文件: Road.cs 项目: alenkacz/Expanze
 internal void SetPathNode(int distance, TownModel ancestorTown, IRoad ancestorRoad)
 {
     pathNode.Set(distance, ancestorTown, ancestorRoad);
 }
示例#3
0
文件: Town.cs 项目: alenkacz/Expanze
 public void SetTownNeighbours(TownModel town1, TownModel town2, TownModel town3)
 {
     townNeighbour[0] = town1;
     townNeighbour[1] = town2;
     townNeighbour[2] = town3;
 }