Skip to content

Playscii.Tile Struct

Json tile in the Playscii file.

C#
public struct Playscii.Tile

Tile background color.

C#
public int bg

Tile character index.

C#
[JsonProperty("char")]
public int glyph

Tile foreground color.

C#
public int fg

Tile rotation and mirror.

C#
public byte xform

Converts the Playscii tile to a SadConsole ColoredGlyphBase.

C#
public ColoredGlyphBase ToColoredGlyph(IFont font, Palette colors)

font IFont
IFont to be used when creating the ScreenSurface.

colors SadRogue.Primitives.Palette
SadRogue.Primitives.Palette of colors converted from the Playscii format.

ColoredGlyphBase
ColoredGlyphBase equivalent of the Playscii tile.