public void startGame(){
		if(this.state != MAINMENU){
			return;
		}
		
		try {
			String[] mapName = MapData.getMapNames();
			territories = TerritoryFactory.getTerritories(mapName[selectedMap]);
		} catch (IOException e) {
			e.printStackTrace();
		}
		
		Random rand = new Random();
		int sum = 0;
		int player = 0;
		while(sum < territories.length){
			int i = rand.nextInt(territories.length);
			if(territories[i].getOwner() == null){
				players.get(player).addTerritory(territories[i]);
				territories[i].setNbrOfUnits(1);
				sum++;
				player = (++player)%players.size();
			}
		}
		this.startPhases = 10*this.getNumberOfPlayers();
		this.phase = 0;
		nextState();
	}