forked from SteamWar/SteamWar
@@ -43,6 +43,8 @@ abstract class UIInventory(val player: Player): ObserverListener() {
|
|||||||
open()
|
open()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun update() = render()
|
||||||
|
|
||||||
protected fun inventory(size: Int, title: String, init: WindowContext.() -> Unit) {
|
protected fun inventory(size: Int, title: String, init: WindowContext.() -> Unit) {
|
||||||
window = UIWindow(size, title, player, init)
|
window = UIWindow(size, title, player, init)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user