Hi all,
What is the argument passed into Events.COLLIDED_WITH, for "other sprite"?
if (component.equals(imageSprite1) && eventName.equals(Events.COLLIDED_WITH)) {
   			doCollision(**what goes here**);
    		return true;
    	}
.
.
.
private void doCollision(**what goes here**) {
		
		if (**what goes here** == imageSprite2) {
                //do something
		}
		
		
	}
I want to test if for example the other Sprite is imageSprite2, then do something.
Is it something like args[0].toString()? Though I guess it shouldn't be a string, it should be a component name?
Thanks,
S