public void Fight() { while (Character.Alive && Enemy.Alive) { Character.Hit(Enemy); Enemy.Hit(Character); Character.ShowInfo(); Enemy.ShowInfo(); } }
public GamePerson Fight() { while (Character.Alive && Enemy.Alive) { Character.Hit(Enemy); Enemy.Hit(Character); Character.ShowInfo(); Enemy.ShowInfo(); } return(Character.Alive ? Character : Enemy); }