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