コード例 #1
0
 //AGGIUNGERE DRAW CARD
 public override int Visit(DrawCardAndAttack attack)
 {
     //Log("In DrawCardAndAttack called by " + Owner.ToString());
     // Draw card and prepare response
     AddResponse(Owner, new DrawCardResponse(Owner, GameManager.UserDict[Owner].Player.Draw()));
     foreach (CharacterEnum ch in CharacterManager.Instance.Others(Owner))
     {
         AddResponse(ch, new DrawCardResponse(Owner, null));
     }
     return(attack.Power);
 }
コード例 #2
0
 public override int Visit(DrawCardAndAttack drawCardAndAttack)
 {
     return(0);
 }
コード例 #3
0
 public override int Visit(DrawCardAndAttack drawCardAndAttack)
 {
     throw new NotImplementedException();
 }
コード例 #4
0
 public abstract int Visit(DrawCardAndAttack drawCardAndAttack);