Sharplike.Core.Rendering.RegionTile.AddGlyphProvider C# (CSharp) Method

AddGlyphProvider() public method

Adds a glyph to the tile.
Many glyphs can be in a single tile, and they will just overlay each other. Make sure to invoke DisplayTile.ClearGlyphs() or DisplayTile.Reset() if you want to fully replace them.
public AddGlyphProvider ( IGlyphProvider g ) : void
g IGlyphProvider The pre-created glyph to add.
return void
        public void AddGlyphProvider(IGlyphProvider g)
        {
            this.glyphList.Add(g);
            if (displaytile != null)
                displaytile.MakeRenderDirty();
        }