コード例 #1
0
ファイル: StackObject.cs プロジェクト: greg-mitchell/mlaSharp
        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
ファイル: BasicCards.cs プロジェクト: greg-mitchell/mlaSharp
        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
ファイル: BasicCards.cs プロジェクト: greg-mitchell/mlaSharp
 public HillGiant(Player owner)
     : this()
 {
     Owner = owner;
 }
コード例 #5
0
ファイル: BasicCards.cs プロジェクト: greg-mitchell/mlaSharp
 public GreyOgre(Player owner)
     : this()
 {
     Owner = owner;
 }
コード例 #6
0
ファイル: BasicCards.cs プロジェクト: greg-mitchell/mlaSharp
 public GoblinPiker(Player owner)
     : this()
 {
     Owner = owner;
 }