void PlaceSettlement(int x, int y) { List <Tile> tiles = GetAdjacentTilesToSettlement(x, y); if (tiles.Count > 0) { Settlement s = Instantiate(Resources.Load <Settlement>("Settlement")); s.transform.SetParent(transform); s.transform.localPosition = GetWorldPosForSettlement(x, y); s.Construct(tiles, x, y); settlements[x, y] = s; } }