public ArrayList<Field> getLegalMoves(Board board, Field currentField) {
    	ArrayList<Field> legalFields = new ArrayList<Field>();
    	for (Field field : board.fields) {
	    	if (this.canMove(board, currentField, field) || this.canAttack(board, currentField, field)) {
	    		legalFields.add(field);
	    	}
    	}
		return legalFields;
    }