revived the worldSecondaryClick function

This commit is contained in:
minjaesong
2022-08-26 13:36:41 +09:00
parent 9f0f7fd1ce
commit 6bea80090d
3 changed files with 24 additions and 25 deletions

View File

@@ -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.