Files
Terrarum/src/net/torvald/terrarum/gameactors/LandHolder.kt
Song Minjae 413603de6f fixed wrong package, fixed wrong creation date
Former-commit-id: 8a2a91a5252347b5184f62ec0f7009292fbb01bb
Former-commit-id: b31eaddf7596c8393c9a032e8897ef3f1a8234fd
2016-10-26 00:37:49 +09:00

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()
}