Struct Playscii.Layer
Json layer in the Playscii file.
Inherited Members
Namespace: SadConsole.Readers
Assembly: SadConsole.dll
Syntax
public struct Playscii.Layer
Fields
name
Layer name.
Declaration
public string name
Field Value
| Type | Description |
|---|---|
| string |
tiles
Playscii tiles that will be converted to ColoredGlyphBase.
Declaration
public Playscii.Tile[] tiles
Field Value
| Type | Description |
|---|---|
| Tile[] |
visible
Visibility of this layer.
Declaration
public bool visible
Field Value
| Type | Description |
|---|---|
| bool |
Methods
ToSurface(ScreenSurface, Palette)
Converts the Playscii layer to a SadConsole ScreenSurface.
Declaration
public ScreenSurface ToSurface(ScreenSurface parent, Palette colors)
Parameters
| Type | Name | Description |
|---|---|---|
| ScreenSurface | parent | ScreenSurface that represents Playscii frame holding this layer. |
| Palette | colors |
Returns
| Type | Description |
|---|---|
| ScreenSurface | ScreenSurface containg the given Playscii layer. |