예제 #1
0
        public StackObject(StackObjectType objectType, string typeString, string text, 
		                   Player owner, Player controller, ColorsEnum colors, 
		                   GameActionDelegate resolutionAction)
        {
            ObjectType = objectType;
            TypeString = typeString;
            Text = text;
            Owner = owner;
            Controller = controller;
            Colors = colors;
            ResolutionAction = resolutionAction;
        }
예제 #2
0
        public Mountain(Player owner)
            : this()
        {
            Owner = owner;

            ActivatedAbilities.Add(new Ability(
                (Player p, State s) =>
                    {
                     		return (this.Status & Card.StatusEnum.Tapped) == Card.StatusEnum.Default;
                    },
                (Player p, State s) =>
                    {
                        s.ManaPools[p].R++;
                        this.Status |= Card.StatusEnum.Tapped;
                    }
            ));
        }
예제 #3
0
 public PlayerLostException(string message, Exception innerException, Player losingPlayer)
     : base(message,innerException)
 {
     this.losingPlayer = losingPlayer;
 }
예제 #4
0
 public HillGiant(Player owner)
     : this()
 {
     Owner = owner;
 }
예제 #5
0
 public GreyOgre(Player owner)
     : this()
 {
     Owner = owner;
 }
예제 #6
0
 public GoblinPiker(Player owner)
     : this()
 {
     Owner = owner;
 }