diff --git a/core/src/ru/deadsoftware/cavedroid/game/objects/Block.kt b/core/src/ru/deadsoftware/cavedroid/game/objects/Block.kt
index 3343c9ac294b6e18cb7e5812fc62d00ce99415a4..020caf5356c7b4d7dd142afbc7c045f3787e53e2 100644 (file)
* @param spriteTop block's sprite y on texture
* @param spriteRight block's sprite right edge on texture
* @param spriteBottom block's sprite bottom on texture
+ * @param fullBlockKey for slabs. block for two slabs of one kind
*/
data class Block(
val id: Int,
private val spriteLeft: Int,
private val spriteTop: Int,
private val spriteRight: Int,
- private val spriteBottom: Int
+ private val spriteBottom: Int,
+ val fullBlockKey: String?,
) {
val width = 16 - right - left