*/
public void updateSums(){
for(ArrayList<AbstractScoreSlot> playerXStats : gameSheetContents){
Sum intermediate = (Sum)playerXStats.get(INTERMEDIATE_SUM);
Sum total = (Sum)playerXStats.get(TOTAL_SUM);
Bonus bonus = (Bonus)playerXStats.get(UPPERSECTION_BONUS);
intermediate.resetScoreSum();
total.resetScoreSum();
for(int i = 0; i < UPPERSECTION_END; i++){
intermediate.addScoreToSlot(playerXStats.get(i).getSlotScore());
}
bonus.addScoreToSlot(null); //Check whether a bonus should be applied after updating the intermediate sum slot
for(int i = 0; i < LOWER_SECTION_END; i++){
if(i == INTERMEDIATE_SUM)continue;
total.addScoreToSlot(playerXStats.get(i).getSlotScore());
}