public void processPiecesAI() {
		for (Piece piece : new ArrayList<Piece>(pieces)){
			piece.processAI();
		}

		Iterator<Piece> it = pieces.iterator();
		while (it.hasNext()) {
			Piece p = it.next();
			if (p.isDead())
				it.remove();
		}
	}