mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-16 08:36:07 +09:00
14 lines
302 B
Kotlin
14 lines
302 B
Kotlin
package net.torvald.terrarum.gameworld
|
|
|
|
import com.badlogic.gdx.utils.Disposable
|
|
|
|
/**
|
|
* Created by minjaesong on 2023-10-10.
|
|
*/
|
|
interface BlockLayer : Disposable {
|
|
|
|
val bytesPerBlock: Long
|
|
fun unsafeToBytes(x: Int, y: Int): ByteArray
|
|
fun unsafeSetTile(x: Int, y: Int, bytes: ByteArray)
|
|
|
|
} |