added getTotalTroops to player.