示例#1
0
 public override Byproduct Produce(ByproductColor color)
 {
     return new EasterEgg(this.TopLeft, color);
 }
示例#2
0
 public virtual Byproduct Produce(ByproductColor color)
 {
     return(null);
 }
示例#3
0
 public override Byproduct Produce(ByproductColor color)
 {
     return new Milk(this.TopLeft);
 }
 public EasterEgg(MatrixCoords topLeft, ByproductColor color)
     : base(topLeft)
 {
     this.Color = color;
     this.Type = ByproductType.EasterEgg;
 }
示例#5
0
 public override Byproduct Produce(ByproductColor color)
 {
     return(new TrophyEgg(this.TopLeft, color));
 }
 public virtual Byproduct Produce(ByproductColor color)
 {
     return null;
 }
 public EasterEgg(ByproductColor color)
     : this(new MatrixCoords(), color)
 {
 }
 public TrophyEgg(MatrixCoords topLeft, ByproductColor color)
     : base(topLeft, color)
 {
     this.Type = ByproductType.TrophyEgg;
 }
 public TrophyEgg(ByproductColor color)
     : this(new MatrixCoords(), color)
 {
 }
示例#10
0
 public EasterEgg(ByproductColor color)
     : this(new MatrixCoords(), color)
 {
 }
示例#11
0
 public EasterEgg(MatrixCoords topLeft, ByproductColor color)
     : base(topLeft)
 {
     this.Color = color;
     this.Type  = ByproductType.EasterEgg;
 }
示例#12
0
 public override Byproduct Produce(ByproductColor color)
 {
     return(new Milk(this.TopLeft));
 }
示例#13
0
 public TrophyEgg(ByproductColor color)
     : this(new MatrixCoords(), color)
 {
 }
示例#14
0
 public TrophyEgg(MatrixCoords topLeft, ByproductColor color)
     : base(topLeft, color)
 {
     this.Type = ByproductType.TrophyEgg;
 }