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 }); }
public Commander(string name, string image, string color) { this.Name = name; this.Image = new Uri(image); this.ColorIdentity = new ColorIdentity(color); }
public CommanderPair(Commander item1, Commander item2) { this.Item1 = item1; this.Item2 = item2; this.ColorIdentity = item1.ColorIdentity.Combine(item2.ColorIdentity); }