battle.java