chest ui: chest names are centered around the cells

This commit is contained in:
minjaesong
2022-07-13 01:08:38 +09:00
parent b583cb850f
commit d86fd5d5fe
4 changed files with 21 additions and 14 deletions

View File

@@ -363,7 +363,7 @@ abstract class GameItem(val originalID: ItemID) : Comparable<GameItem>, Cloneabl
/**
* @param actor actor to check the reach
* @param action returns true if the action was successfully performed
* @param action returns non-negative integer if the action was successfully performed
* @return an amount to remove from the inventory (>= 0); -1 if the action failed or not in interactable range
*/
fun mouseInInteractableRange(actor: ActorWithBody, action: () -> Long): Long {