public static void PlayersShoot(PlayerBoard playerBoard, EnemyBoard enemyBoard) { playerBoard.EnemyShoots(playerBoard); enemyBoard.ShootEnemy(enemyBoard); }
public static bool IsGameOver(PlayerBoard playerBoard, EnemyBoard enemyBoard) { return(playerBoard.LostAllFleet() || enemyBoard.LostAllFleet()); }
public static void RedrawBoards(PlayerBoard playerBoard, EnemyBoard enemyBoard) { Console.Clear(); playerBoard.DrawBoard(); enemyBoard.DrawBoard(); }