SpriteSheetLoader

fun interface SpriteSheetLoader

Load a Bitmap from a SpriteSheet.

This interface allows integrators to use their own implementation to load Bitmaps using an external library like Glide, Coil, ...

Inheritors

Types

Link copied to clipboard
class Default(dispatcher: CoroutineDispatcher = Dispatchers.IO) : SpriteSheetLoader

Default

Functions

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

Load sprite sheet