in my game i have a computer player and the payer controlled by a person and i want them to take turn in attacks. I'm using this code to assign the attacks
if (BattleStage.turn == 1)
{
System.out.println("turn " +BattleStage.turn);
Attack();
}
however I'm stuck on making the attack happen after each other and going on until someone dies