private static ShotCoord[] GetRandomDefendedCoords() { ShotCoord[] result = new ShotCoord[3]; int[] tiles = TileZoneHelper.GetRandomZone(); for (int i = 0; i < 3; i++) { result[i] = new ShotCoord(tiles[i]); } return(result); }
public void OnClick(int index) { AddTileZone(TileZoneHelper.GetZoneForTile(index)); }