コード例 #1
0
 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();
 }
コード例 #2
0
 /// <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);
 }