mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 20:44:05 +09:00
Former-commit-id: 8a2a91a5252347b5184f62ec0f7009292fbb01bb Former-commit-id: b31eaddf7596c8393c9a032e8897ef3f1a8234fd
19 lines
422 B
Kotlin
19 lines
422 B
Kotlin
package net.torvald.terrarum.gameactors
|
|
|
|
import java.util.*
|
|
|
|
/**
|
|
* Created by minjaesong on 16-02-20.
|
|
*/
|
|
interface LandHolder {
|
|
|
|
/**
|
|
* Absolute tile index. index(x, y) = y * map.width + x
|
|
* The arraylist will be saved in JSON format with GSON.
|
|
*/
|
|
var houseDesignation: ArrayList<Long>?
|
|
fun addHouseTile(x: Int, y: Int)
|
|
fun removeHouseTile(x: Int, y: Int)
|
|
fun clearHouseDesignation()
|
|
|
|
} |