// PRINT SHIP public static void PrintShips() { for (int i = 0; i < Ships.SpawnedShipsList.Count; i++) { char[,] model = Ships.GetModel(i); Print <Type>(model, Ships.SpawnedShipsList[i][1], Ships.SpawnedShipsList[i][2]); } }
public static void PlayerShipDown() { Console.Clear(); Console.SetCursorPosition(51, 0); Console.WriteLine("*** Get Ready! ***"); for (int i = 1; i < 35; i++) { Console.SetCursorPosition(0, i); Console.WriteLine("* *"); Print <Type>(Ships.GetModel(0), 57, 1 + i); Thread.Sleep(90); } for (int i = 35; i < 40; i++) { Console.SetCursorPosition(0, i); Console.Write('*'); Console.SetCursorPosition(119, i); Console.Write('*'); Thread.Sleep(90); } for (int col = 0; col < 30; col++) { for (int row = 0; row < 39; row++) { Console.SetCursorPosition(75 - col, row); if (col > 0) { Console.Write(" * "); } else { Console.Write(" *"); } } if (col > 10 && Settings.ShipChoice != 1) { Print <Type>(Ships.GetModel(0), 67 - col, 34); } if (col > 11 && Settings.ShipChoice == 1) { Print <Type>(Ships.GetModel(0), 68 - col, 34); } Thread.Sleep(135); } }