public void PlayTurn(Player Player1, Player Player2) { if (Player2.GetType() == typeof(HumanPlayer)) { Display.PrintBoards(Player2); } Shoot(Player1.GetShootingCoordinates(), Player1, Player2); Console.ReadLine(); Console.Clear(); }
public void PlaceAllShips(Player Player) { foreach (KeyValuePair <string, int> property in Ship.ShipProperties) { PlaceShip(property.Value, property.Key); if (Player.GetType() == typeof(HumanPlayer)) { Display.PrintBoards(Player); } } }