public boolean canBearOff(Color player){
		int count = 0;
		if (player == this.getPlayer2()){
			for (int i = 1; i < 7; i++){
				if (this.getPoint(i).size() > 0) {
					count += (BackgammonModel.getColor(this.getPoint(i)) == player) ? this.getPoint(i).size() : 0;
				}
			}
			count += this.getPlayer2Home().size();
				
		} else if (player == this.getPlayer1()){
			for (int i = 19; i < 25; i++){
				if (this.getPoint(i).size() > 0) {
					count += (BackgammonModel.getColor(this.getPoint(i)) == player) ? this.getPoint(i).size() : 0;
				}
			}
			count += this.getPlayer1Home().size();
		}		
		return (count == 15);
	}