As a side note, all the objects that could be clicked on will be classes that extend 'IsoObject', so I was trying to use Polymorphism in my code (ie. all the 'playerInventory' objects were IsoObjects, so they could accept all the items such as ball(), pipe(), etc.), but it wasn't helping me come to an answer.