private void PutAllyIntoPlayFromYourHand(IGame game, IEffectHandle handle, IPlayer player, IAllyCard allyCard) { player.Hand.RemoveCards(new List<IPlayerCard> { allyCard }); player.AddCardInPlay(new AllyInPlay(game, allyCard)); game.AddEffect(new AtEndOfPhaseReturnAllyToYourHand(CardSource, allyCard.Id)); handle.Resolve(GetCompletedStatus()); }
private void PutAllyIntoPlayFromYourHand(IGame game, IEffectHandle handle, IPlayer player, IAllyCard allyCard) { player.Hand.RemoveCards(new List <IPlayerCard> { allyCard }); player.AddCardInPlay(new AllyInPlay(game, allyCard)); game.AddEffect(new AtEndOfPhaseReturnAllyToYourHand(CardSource, allyCard.Id)); handle.Resolve(GetCompletedStatus()); }
public PlayAllyEffect(IGame game, Sphere resourceSphere, byte numberOfResources, IPlayer player, IAllyCard allyCard) : base(game, resourceSphere, numberOfResources, false, player, allyCard) { this.allyCard = allyCard; }