mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 06:24:06 +09:00
revived the worldSecondaryClick function
This commit is contained in:
@@ -221,19 +221,19 @@ open class IngameInstance(val batch: FlippingSpriteBatch, val isMultiplayer: Boo
|
||||
open fun worldPrimaryClickEnd(actor: ActorWithBody, delta: Float) {
|
||||
}
|
||||
|
||||
// I have decided that left and right clicks must do the same thing, so no secondary use from now on. --Torvald on 2019-05-26
|
||||
// Nevermind: we need to distinguish picking up and using the fixture. --Torvald on 2022-08-26
|
||||
/**
|
||||
* I have decided that left and right clicks must do the same thing, so no secondary use from now on. --Torvald on 2019-05-26
|
||||
*
|
||||
* Event for triggering held item's `startSecondaryUse(Float)`
|
||||
*/
|
||||
//open fun worldSecondaryClickStart(delta: Float) { }
|
||||
open fun worldSecondaryClickStart(actor: ActorWithBody, delta: Float) { }
|
||||
|
||||
/**
|
||||
* I have decided that left and right clicks must do the same thing, so no secondary use from now on. --Torvald on 2019-05-26
|
||||
*
|
||||
// I have decided that left and right clicks must do the same thing, so no secondary use from now on. --Torvald on 2019-05-26
|
||||
// Nevermind: we need to distinguish picking up and using the fixture. --Torvald on 2022-08-26
|
||||
/***
|
||||
* Event for triggering held item's `endSecondaryUse(Float)`
|
||||
*/
|
||||
//open fun worldSecondaryClickEnd(delta: Float) { }
|
||||
open fun worldSecondaryClickEnd(actor: ActorWithBody, delta: Float) { }
|
||||
|
||||
/**
|
||||
* Event for triggering fixture update when something is placed/removed on the world.
|
||||
|
||||
Reference in New Issue
Block a user