Open curioustorvald opened 5 years ago
World Click event -- there's already such event on the GameItem. Modify it such that:
Ingame.Player.inventory.getHeldItem.primaryUse(some more vars)
)
fun CollisionEvent(this: Myself, other: List of CollisionInfo)
CollisionInfo: collision with other actor | world tile (tile number?)
World Click event (primary click, secondary click)
Collision event