pickaxe ore tooltip; working item pickup and throw effects

This commit is contained in:
minjaesong
2023-10-27 02:55:13 +09:00
parent 012d3482dc
commit 19f1eb2278
20 changed files with 95 additions and 22 deletions

View File

@@ -209,7 +209,7 @@ abstract class GameItem(val originalID: ItemID) : Comparable<GameItem>, Cloneabl
/**
* Effects applied immediately only once when picked up
*/
open fun effectOnPickup(actor: ActorWithBody, delta: Float) { }
open fun effectOnPickup(actor: ActorWithBody) { }
/**
* Apply effects (continuously or not) while primary button is down.
@@ -249,7 +249,7 @@ abstract class GameItem(val originalID: ItemID) : Comparable<GameItem>, Cloneabl
/**
* Effects applied immediately only once when thrown (discarded) from pocket
*/
open fun effectOnThrow(actor: ActorWithBody, delta: Float) { }
open fun effectOnThrow(actor: ActorWithBody) { }
/**
* Effects applied (continuously or not) while being equipped (drawn/pulled out)
@@ -259,7 +259,7 @@ abstract class GameItem(val originalID: ItemID) : Comparable<GameItem>, Cloneabl
/**
* Effects applied only once when unequipped
*/
open fun effectOnUnequip(actor: ActorWithBody, delta: Float) { }
open fun effectOnUnequip(actor: ActorWithBody) { }
override fun toString(): String {