Playscii.Frame Struct
Definition
Section titled “Definition”Json frame object in the Playscii file.
public struct Playscii.FrameFields
Section titled “Fields”Duration for this frame.
public float delaylayers
Section titled “layers”Playscii frame layers that will be converted to ScreenSurface.
public Playscii.Layer[] layersMethods
Section titled “Methods”ToScreenSurface(int, int, IFont, Palette)
Section titled “ToScreenSurface(int, int, IFont, Palette)”Converts the Playscii frame to SadConsole ScreenSurface.
public ScreenSurface ToScreenSurface(int width, int height, IFont font, Palette colors)Parameters
Section titled “Parameters”width int
Width of the ScreenSurface.
height int
Height of the ScreenSurface.
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”ScreenSurface
ScreenSurface containing the image from the first animation frame.