private void DestinyDeckButton_Click(object sender, EventArgs e) { drawnCardListBox.BeginUpdate(); DeckManager.Cards.SkillCard card = Program.GManager.CurrentGameState.DestinyDeck.Draw(); drawnCardListBox.Items.Add(card); drawnCardListBox.EndUpdate(); }
/// <summary> /// Plays a card into the skill check /// </summary> /// <param name="card">The SkillCard to add to the skillcheck</param> /// <returns></returns> public void playCard(SkillCard card) { this.playedCards.Add(card); }