added Planet.performBattle method