Explorar el Código

Removed unuzed method

Vsevolod Levitan hace 4 meses
padre
commit
ffd67dc8f9
Se han modificado 1 ficheros con 0 adiciones y 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;