public void PlayRound(PlayerSequence player, Coordinate coord)
 {
     if (player == PlayerSequence.Player1)
     {
         var result = Player2.ProcessShot(Player2.Name, coord);
         Player1.ProcessShotResult(coord, result);
     }
     else
     {
         var result = Player1.ProcessShot(Player2.Name, coord);
         Player2.ProcessShotResult(coord, result);
     }
 }
Beispiel #2
0
 private void InitPlayerSequence()
 {
     this.playerSequence = new PlayerSequence(this);
 }