mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-22 16:34:05 +09:00
Former-commit-id: 375604da8a20a6ba7cd0a8d05a44add02b2d04f4 Former-commit-id: 287287c5920b07618174d7a7573f049d350ded66
19 lines
424 B
Kotlin
19 lines
424 B
Kotlin
package net.torvald.terrarum.gameactors
|
|
|
|
import java.util.*
|
|
|
|
/**
|
|
* Created by minjaesong on 16-03-14.
|
|
*/
|
|
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<Int>?
|
|
fun addHouseTile(x: Int, y: Int);
|
|
fun removeHouseTile(x: Int, y: Int);
|
|
fun clearHouseDesignation();
|
|
|
|
} |