コード例 #1
0
ファイル: Decision.cs プロジェクト: justbark/mtgSimulator
 public void EncodeEnchant(List<Card> cards)
 {
     RelevantCards.AddRange(cards);
     this.actionType = ActionDecisionType.CastEnchantment;
 }
コード例 #2
0
ファイル: Decision.cs プロジェクト: justbark/mtgSimulator
 public void EncodeAttack(List<Card> cards) //overloaded function!
 {
     RelevantCards.AddRange(cards);
     this.actionType = ActionDecisionType.Attack;
 }
コード例 #3
0
ファイル: Decision.cs プロジェクト: justbark/mtgSimulator
 public void EncodeEnchant(Card card)
 {
     RelevantCards.Add(card);
     this.actionType = ActionDecisionType.CastEnchantment;
 }
コード例 #4
0
ファイル: Decision.cs プロジェクト: justbark/mtgSimulator
 public void EncodeSummon(Card card)
 {
     RelevantCards.Add(card);
     this.actionType = ActionDecisionType.Summon;
 }
コード例 #5
0
ファイル: Decision.cs プロジェクト: justbark/mtgSimulator
 public void EncodeAttack(Card card)
 {
     RelevantCards.Add(card);
     this.actionType = ActionDecisionType.Attack;
 }
コード例 #6
0
 public void EncodeEnchant(List <Card> cards)
 {
     RelevantCards.AddRange(cards);
     this.actionType = ActionDecisionType.CastEnchantment;
 }
コード例 #7
0
 public void EncodeEnchant(Card card)
 {
     RelevantCards.Add(card);
     this.actionType = ActionDecisionType.CastEnchantment;
 }
コード例 #8
0
 public void EncodeAttack(List <Card> cards) //overloaded function!
 {
     RelevantCards.AddRange(cards);
     this.actionType = ActionDecisionType.Attack;
 }
コード例 #9
0
 public void EncodeAttack(Card card)
 {
     RelevantCards.Add(card);
     this.actionType = ActionDecisionType.Attack;
 }
コード例 #10
0
 public void EncodeSummon(Card card)
 {
     RelevantCards.Add(card);
     this.actionType = ActionDecisionType.Summon;
 }