Skip to content

SprFile Class ​

Definition ​

A headerless collection of 16 by 16 sprite patterns at an explicit bit depth.

c#
public sealed class SprFile : TilesFile

View source

Constructors ​

NameDescription
SprFile(TilesData)Creates a file from unpacked tiles, preserving their bit depth and indices.

Properties ​

NameDescription
FormatGets the format and its explicit bit depth.
PatternsGets the ordered byte-backed sprite patterns.
TilesGets a shared convenience view derived from the file's concrete components.