Hi!
I’ve recently implement the inventory for my game wich shows in the screen a simple rect partitioned in 32 subrects showing all the items in characters inv. http://puu.sh/mZny
I’d like to know how can i handle the mouse hovering of every item in the inventory to make the mouse listener work.
I mean, when hovering an item, right clicking will use/equip it and left clicking will able it to drag/drop it.
Thanks for help!
PS: I don’t need code, just knowledge about how to do it