Exemple #1
0
 private void btnGenerateField_Click(object sender, System.EventArgs e)
 {
     DisableShipButtons();
     playerField.Reset();
     playerField.GenerateField();
     DrawPlayerField();
     playerFieldArea.Enabled = false;
     btnStart.Enabled        = true;
 }
 private void Awake()
 {
     _deck        = _deckSo.CreateInstance();
     _playerField = new PlayerField <ICardInstance>();
     _playerField.Reset(_deck);
 }