Anyone know how to run something after two objects of the same class are clicked?
What I have is this and I don't understand how it's not working.
if(Greenfoot.mouseClicked(this))
{
initialized = true;
}
if(initialized = true)
{
if(Greenfoot.mouseClicked(Cards.class))
{
//Do something
}
}
