Default

class Default(dispatcher: CoroutineDispatcher = Dispatchers.IO) : SpriteSheetLoader

Default

Parameters

dispatcher

The CoroutineDispatcher to use for loading the sprite sheet. Should not be on the main thread.

Constructors

Link copied to clipboard
constructor(dispatcher: CoroutineDispatcher = Dispatchers.IO)

Functions

Link copied to clipboard
open override fun loadSpriteSheet(spriteSheet: SpriteSheet, onComplete: (Bitmap?) -> Unit)

Load sprite sheet