protected static BoxScore getBoxScoreAwayScheduled() { BoxScore boxScore = new BoxScore(); boxScore.setLocation(Location.away); return boxScore; }
protected static BoxScore getBoxScoreAwayCompleted(BoxScore boxScore, short[] periodScores) { boxScore.setResult(Result.loss); boxScore.setMinutes((short) 230); boxScore.setPoints((short) 99); boxScore.setAssists((short) 25); boxScore.setTurnovers((short) 12); boxScore.setSteals((short) 5); boxScore.setBlocks((short) 7); boxScore.setFieldGoalAttempts((short) 39); boxScore.setFieldGoalMade((short) 29); boxScore.setFieldGoalPercent(new Float(0.7435)); boxScore.setThreePointAttempts((short) 17); boxScore.setThreePointMade((short) 10); boxScore.setThreePointPercent(new Float(0.5882)); boxScore.setFreeThrowAttempts((short) 15); boxScore.setFreeThrowMade((short) 11); boxScore.setFreeThrowPercent(new Float(0.7333)); boxScore.setReboundsOffense((short) 15); boxScore.setReboundsDefense((short) 12); boxScore.setPersonalFouls((short) 21); boxScore.setPointsPeriod1(periodScores[0]); boxScore.setPointsPeriod2(periodScores[1]); boxScore.setPointsPeriod3(periodScores[2]); boxScore.setPointsPeriod4(periodScores[3]); if (periodScores.length > 4) boxScore.setPointsPeriod5(periodScores[4]); return boxScore; }
protected static BoxScore getBoxScoreHomeScheduled() { BoxScore boxScore = new BoxScore(); boxScore.setLocation(Location.home); return boxScore; }