public Party battle()
	{
		//list the players and enemies and their current/max hp
		do{
		//player characters go down the list taking a turn
		
			//foreach character c in the party
			for(Iterator<Character> party = players.getParty().iterator(); party.hasNext();)
			{
				Character c = party.next();
				c.takeTurn(players, enemies);
				if(over())
					break;
			}
		
			if(over())
				break;
		//enemy characters go down the list taking a turn
			
			//foreach character c in the party
				//performEnemyAction
			for(Iterator<Character> party = enemies.getParty().iterator(); party.hasNext();)
			{
				Character c = party.next();
				c.takeTurn(enemies, players);
				if(over())
					break;
			}
		}while(!over());
		
		if(!players.defeated())
		{
			players.levelUp();
		}
		
		return players;
	}