ReadSpriteFromFile

ReadSpriteFromFile reads a file in .spr format and outputs a new 'Sprite" object from it.

ReadSpriteFromFile
(
immutable(char)[] filename
)

Parameters

filename immutable(char)[]

The name of the file to read the sprite from.

Return Value

Type: Sprite

A new 'Sprite' object interpreted from the file.

Meta