Ejemplo n.º 1
0
 public ColorIdentity Combine(ColorIdentity secondIdentity)
 {
     return(new ColorIdentity()
     {
         W = this.W || secondIdentity.W,
         U = this.U || secondIdentity.U,
         B = this.B || secondIdentity.B,
         R = this.R || secondIdentity.R,
         G = this.G || secondIdentity.G
     });
 }
Ejemplo n.º 2
0
 public Commander(string name, string image, string color)
 {
     this.Name          = name;
     this.Image         = new Uri(image);
     this.ColorIdentity = new ColorIdentity(color);
 }
Ejemplo n.º 3
0
 public CommanderPair(Commander item1, Commander item2)
 {
     this.Item1         = item1;
     this.Item2         = item2;
     this.ColorIdentity = item1.ColorIdentity.Combine(item2.ColorIdentity);
 }