public Bot() { myField = new MyField(); enemyField = new EnemyField(); myField.SetRandom(); Game.status.IsOpponentReady = true; }
public void CopyInfo(MyField field) { for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; j++) { cellField[i, j].State = field[i, j].State; } } placedShips = field.placedShips; }