Clarified explanation of the new handleBattleEnd method.