internal PlayerAction(int player, ActionType actionType, Entity source, AttackInfoWithEntity attackInfo) { Player = player; ActionType = actionType; Source = source; AttackInfo = attackInfo; }
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)); }