public void setPlayerPieces(Element element){
		NodeList tempNodeList;
		boolean isPlayerOne = false;
		if(element.getAttribute("id").equals("1")){
			tempNodeList = m_p1Piece;
			isPlayerOne = true;
		}else{
			tempNodeList = m_p2Piece;
		}
		for(int i = 0; i < tempNodeList.getLength(); i++){
			Node nNode2 = tempNodeList.item(i);

			Element eElement2 = (Element) nNode2;	

			if(isPlayerOne){
				playerOnePiecesX.add(eElement2.getElementsByTagName("x").item(0).getTextContent());
				playerOnePiecesY.add(eElement2.getElementsByTagName("y").item(0).getTextContent());
			}else{
				playerTwoPiecesX.add(eElement2.getElementsByTagName("x").item(0).getTextContent());
				playerTwoPiecesY.add(eElement2.getElementsByTagName("y").item(0).getTextContent());
			}
		}	
	}