mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-16 05:24:06 +09:00
Greek support, modular weather, command history for console window
Former-commit-id: b72d0b018c084e80cf4fef77e1b1a81101d6daea Former-commit-id: 32da6a2998826de6519a901dcff7bf058f689b2f
This commit is contained in:
@@ -25,7 +25,7 @@ interface InventoryItem {
|
||||
var scale: Double
|
||||
|
||||
/**
|
||||
* Effects applied while in pocket
|
||||
* Effects applied continuously while in pocket
|
||||
* @param gc
|
||||
* *
|
||||
* @param delta_t
|
||||
@@ -41,7 +41,7 @@ interface InventoryItem {
|
||||
fun effectWhenPickedUp(gc: GameContainer, delta_t: Int)
|
||||
|
||||
/**
|
||||
* Effects applied while primary button (usually left mouse button) is down
|
||||
* Effects applied (continuously or not) while primary button (usually left mouse button) is down
|
||||
* @param gc
|
||||
* *
|
||||
* @param delta_t
|
||||
@@ -49,7 +49,7 @@ interface InventoryItem {
|
||||
fun primaryUse(gc: GameContainer, delta_t: Int)
|
||||
|
||||
/**
|
||||
* Effects applied while secondary button (usually right mouse button) is down
|
||||
* Effects applied (continuously or not) while secondary button (usually right mouse button) is down
|
||||
* @param gc
|
||||
* *
|
||||
* @param delta_t
|
||||
@@ -62,5 +62,5 @@ interface InventoryItem {
|
||||
* *
|
||||
* @param delta_t
|
||||
*/
|
||||
fun effectWhenThrownAway(gc: GameContainer, delta_t: Int)
|
||||
fun effectWhenThrown(gc: GameContainer, delta_t: Int)
|
||||
}
|
||||
@@ -33,7 +33,7 @@ class TileAsItem(tileNum: Int) : InventoryItem {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
override fun effectWhenThrownAway(gc: GameContainer, delta_t: Int) {
|
||||
override fun effectWhenThrown(gc: GameContainer, delta_t: Int) {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user