Explorar o código

Removed unuzed method

Vsevolod Levitan hai 4 meses
pai
achega
ffd67dc8f9
Modificáronse 1 ficheiros con 0 adicións e 7 borrados
  1. 0 7
      FourInARow/GameBoard.cs

+ 0 - 7
FourInARow/GameBoard.cs

@@ -53,13 +53,6 @@ public class GameBoard : ICloneable
         return true;
     }
 
-    public static Player Opposite(Player player) => player switch
-    {
-        Player.Human => Player.Computer,
-        Player.Computer => Player.Human,
-        _ => Player.None
-    };
-
     public Player? GetWinner()
     {
         if (!cacheInvalidated) return winnerCache;