Companion

object Companion

Functions

Link copied to clipboard
operator fun invoke(    spriteMap: Bitmap,     spriteWidth: Int = 16,     spriteHeight: Int = 16,     marginTop: Int = 0,     marginLeft: Int = 0,     columns: Int = 1,     rows: Int = 1,     offsetBetweenColumns: Int = 0,     offsetBetweenRows: Int = 0,     numberOfFrames: Int = rows * columns,     byRows: Boolean = true): SpriteAnimation
operator fun invoke(    spriteMap: BmpSlice,     spriteWidth: Int = 16,     spriteHeight: Int = 16,     marginTop: Int = 0,     marginLeft: Int = 0,     columns: Int = 1,     rows: Int = 1,     offsetBetweenColumns: Int = 0,     offsetBetweenRows: Int = 0,     numberOfFrames: Int = rows * columns,     byRows: Boolean = true): SpriteAnimation