예제 #1
0
        private void NextToPlay()
        {
            int computerCharInit = Computer.GetNextToAttack().Initiative;
            int playerCharInit   = Player.GetNextToAttack().Initiative;

            if (computerCharInit > playerCharInit)
            {
                Computer.Play(Player.Team);
            }
            else
            {
                Player.Play(Computer.Team);
            }
        }
 public void Play(List <AbstractCharacter> oppositeTeam)
 {
     Implementation.Play(oppositeTeam);
 }