Playscii.Tile Struct
Definition
Section titled “Definition”Json tile in the Playscii file.
public struct Playscii.TileFields
Section titled “Fields”Tile background color.
public int bgTile character index.
[JsonProperty("char")]public int glyphTile foreground color.
public int fgTile rotation and mirror.
public byte xformMethods
Section titled “Methods”ToColoredGlyph(IFont, Palette)
Section titled “ToColoredGlyph(IFont, Palette)”Converts the Playscii tile to a SadConsole ColoredGlyphBase.
public ColoredGlyphBase ToColoredGlyph(IFont font, Palette colors)Parameters
Section titled “Parameters”font IFont
IFont to be used when creating the ScreenSurface.
colors SadRogue.Primitives.Palette
SadRogue.Primitives.Palette of colors converted from the Playscii format.
Returns
Section titled “Returns”ColoredGlyphBase
ColoredGlyphBase equivalent of the Playscii tile.