Пример #1
0
        public Tile GetNeighbourInDirection(string direction)
        {
            Vector3        offset       = neighbourDictionary[direction];
            HexCoordinates neighbourHex = HexCoord.GetNeighBourHexCoordinates(offset);

            return(GetNeighbourTileByHexCoordinate(neighbourHex));
        }
Пример #2
0
        public Tile GetNeighbourInDirection(Vector3 direction)
        {
            HexCoordinates neighbourHex = HexCoord.GetNeighBourHexCoordinates(direction);

            return(GetNeighbourTileByHexCoordinate(neighbourHex));
        }