public Row(COLOR color, int lineChoice) {
		
		Type [] type_list = {ROOK,KNIGHT,BISHOP,QUEEN,KING,BISHOP,KNIGHT,ROOK};
		
		if (color == EMPTY) {
			for(int i=0;i<8;i++) {
				Piece piece = Piece.create(color,NO_PIECE);
				rowPieces.add(piece);
			}
		} else if (color == WHITE){			
			for(int i=0;i<8;i++) {
				Piece piece = null;
				if (lineChoice == BACK_LINE) {
					piece = Piece.create(WHITE, type_list[i]);
				} else if (lineChoice == FRONT_LINE) {
					piece = Piece.create(WHITE, PAWN);
				}
				rowPieces.add(piece);
				numOfPawns++;
			}
		} else {
			for(int i=0;i<8;i++) {
				Piece piece = null;
				if (lineChoice == BACK_LINE) {
					piece = Piece.create(BLACK, type_list[i]);
				} else if (lineChoice == FRONT_LINE) {
					piece = Piece.create(BLACK, PAWN);
				}
				rowPieces.add(piece);
				numOfPawns++;
			}
		}
	}