public void CopyAppearanceTo(ICellAppearance destination) { destination.Foreground = this.Foreground; destination.Background = this.Background; destination.GlyphIndex = this.GlyphIndex; destination.SpriteEffect = this.SpriteEffect; }
/// <summary> /// Creates a new colored glyph based on the provided cell. /// </summary> /// <param name="cell">The cell.</param> public ColoredGlyph(Cell cell) { cell.CopyAppearanceTo(this); Glyph = (char)cell.GlyphIndex; }