Files
Terrarum/src/net/torvald/terrarum/gameactors/LandHolder.kt
2017-09-20 14:36:40 +09:00

19 lines
424 B
Kotlin

package net.torvald.terrarum.gameactors
import java.util.*
/**
* Created by minjaesong on 2016-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()
}