mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 12:34:05 +09:00
ISO keylayout on configs
This commit is contained in:
@@ -198,6 +198,14 @@ abstract class UICanvas(
|
||||
if (!uiItems.contains(uiItem)) uiItems.add(uiItem)
|
||||
}
|
||||
|
||||
fun addUIitemAtHead(uiItem: UIItemisable) {
|
||||
if (!uiItems.contains(uiItem)) uiItems.add(0, uiItem)
|
||||
}
|
||||
|
||||
fun removeUIitem(uiItem: UIItemisable) {
|
||||
uiItems.remove(uiItem)
|
||||
}
|
||||
|
||||
fun mouseInScreen(x: Int, y: Int) = x in 0 until App.scr.windowW && y in 0 until App.scr.windowH
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user