public SelectFromRevealedCardsActivity(IGameLog log, Player player, RevealZone revealZone, string message, ISelectionSpecification selectionSpecification)
            : base(log, player, message, selectionSpecification)
        {
            RevealedCards = revealZone;

            // HACK. I'm ignoring the activity type on the selection specification. Not sure what to do here.
            Type = ActivityType.SelectFromRevealed;
        }
示例#2
0
 public SelectPileActivity(IGameLog log, Player player, string message, ISelectionSpecification specification, ICard source)
     : base(log, player, message, specification.ActivityType, source)
 {
     Specification = specification;
 }
 public SelectCardsActivity(IGameLog log, Player player, string message, ISelectionSpecification specification) 
     : base(log, player, message, specification.ActivityType)
 {
     Specification = specification;
 }
 public SelectCardsActivity(TurnContext context, string message, ISelectionSpecification specification)
     : this(context.Game.Log, context.ActivePlayer, message, specification)
 {
     
 }
示例#5
0
        public SelectFromRevealedCardsActivity(IGameLog log, Player player, RevealZone revealZone, string message, ISelectionSpecification selectionSpecification, ICard source)
            : base(log, player, message, selectionSpecification, source)
        {
            RevealedCards = revealZone;

            // HACK. I'm ignoring the activity type on the selection specification. Not sure what to do here.
            Type = ActivityType.SelectFromRevealed;
        }
示例#6
0
 public SelectCardsActivity(TurnContext context, string message, ISelectionSpecification specification, ICard source)
     : this(context.Game.Log, context.ActivePlayer, message, specification, source)
 {
 }
 public SelectPileActivity(IGameLog log, Player player, string message, ISelectionSpecification specification, ICard source)
     : base(log, player, message, specification.ActivityType, source)
 {
     Specification = specification;
 }
示例#8
0
 public GainACardActivity(IGameLog log, Player player, string message, ISelectionSpecification specification, CardZone destination, ICard source)
     : base(log, player, message, specification, source)
 {
     _destination = destination;
     Hint         = ActivityHint.GainCards;
 }
示例#9
0
 public GainACardActivity(IGameLog log, Player player, string message, ISelectionSpecification specification, CardZone destination, ICard source) 
     : base(log, player, message, specification, source)
 {
     _destination = destination;
     Hint = ActivityHint.GainCards;
 }