예제 #1
0
 public Chixel(Chixel other)
 {
     this.Glyph           = other.Glyph;
     this.ForegroundColor = other.ForegroundColor;
     this.BackgroundColor = other.BackgroundColor;
     this.Dirty           = true;
 }
예제 #2
0
 public bool Equals(Chixel chixel)
 {
     if (chixel == null)
     {
         return(false);
     }
     if (this.Glyph != chixel.Glyph)
     {
         return(false);
     }
     if (this.ForegroundColor != chixel.ForegroundColor)
     {
         return(false);
     }
     if (this.BackgroundColor != chixel.BackgroundColor)
     {
         return(false);
     }
     return(true);
 }