mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-16 13:34:06 +09:00
19 lines
424 B
Kotlin
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()
|
|
|
|
} |