public Set<ChessPiece> getChessPieces(Qualifiable qualification) {
		if (qualification == Scope.ALL) {
			return allPieces;
		} else if (qualification == Scope.NOTHING) {
			return new HashSet<ChessPiece>();
		} else if (qualification == Scope.ACTIVE) {
			return actives;
		} else if (qualification == Scope.BLACK_ACTIVE) {
			return blackActives;
		} else if (qualification == Scope.WHITE_ACTIVE) {
			return whiteActives;
		} else if (qualification == Scope.DECEASED) {
			return deceasedPieces;
		} else if (qualification.getClass().getSimpleName().equals("ChessPieceType")) {
			return chessPieceTypeMap.get(qualification.getQualification());
		} else if (qualification.getClass().getSimpleName().equals("ChessPieceAllegianceType")) {
			return chessPieceAllegianceTypeMap.get(qualification.getQualification());
		} else {  // try to just return all of them
			return allPieces;
		}
	}