Esempio n. 1
0
 public Vector3[] FindPath(HexCoord originHex, HexCoord desinationHex, bool ignorePlayer)
 {
     return(GetPathPosition(HexTilePathFinder.FindPath(GetMapTile(originHex), GetMapTile(desinationHex), new HexCoord[0], ignorePlayer).listOfTiles));
 }
Esempio n. 2
0
 public Vector3[] FindPath(HexCoord originHex, HexCoord desinationHex, HexCoord[] occupied)
 {
     return(GetPathPosition(HexTilePathFinder.FindPath(GetMapTile(originHex), GetMapTile(desinationHex), occupied, false).listOfTiles));
 }
Esempio n. 3
0
 public HexTilePath FindPath(HexCoord originHex, HexCoord desinationHex)
 {
     return(HexTilePathFinder.FindPath(GetMapTile(originHex), GetMapTile(desinationHex), new HexCoord[0], false));
 }