mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-21 07:54:05 +09:00
implemented player 'reach' for items
This commit is contained in:
@@ -184,13 +184,13 @@ open class IngameInstance(val batch: SpriteBatch) : Screen {
|
||||
/**
|
||||
* Event for triggering held item's `startPrimaryUse(Float)`
|
||||
*/
|
||||
open fun worldPrimaryClickStart(delta: Float) {
|
||||
open fun worldPrimaryClickStart(actor: ActorWithBody, delta: Float) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Event for triggering held item's `endPrimaryUse(Float)`
|
||||
*/
|
||||
open fun worldPrimaryClickEnd(delta: Float) {
|
||||
open fun worldPrimaryClickEnd(actor: ActorWithBody, delta: Float) {
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user