So I have a deck in the middle and 14 card objects in total on the screen.
In the deck class, I want it so when a card object is clicked, it gets the image name of the object.
All the card objects were initially created, so I can't get a reference to a card object.
So in sum, i need to know
if (Greenfoot.mouseClicked(somehow reference a card object));
and that is in the Deck class