示例#1
0
 internal PlayerAction(int player, ActionType actionType, Entity source, AttackInfoWithEntity attackInfo)
 {
     Player     = player;
     ActionType = actionType;
     Source     = source;
     AttackInfo = attackInfo;
 }
示例#2
0
 internal void OpponentBeforeMinionAttack(AttackInfoWithEntity attackInfo)
 {
     Console.WriteLine("??????? OpponentBeforeMinionAttack " + attackInfo.Attacker.Card.Name + " -> " + attackInfo.Defender.Card.Name);
     ProcessPlayerAction();
     _playerActions.Add(new PlayerAction(2, ActionType.MINIONATTACK, null, attackInfo));
 }