Hi fellow programmers! I have a seemingly simple question that I can't find an answer to.
I am working on a simple game in Greenfoot, and I'm looking for a method that can detect when an Actor collides with any other Actor. From the little research I've done into this subject, it has occurred to me that all of the pre-provided methods in the Greenfoot package all require a specific class to be passed as an argument for the collision. However, for what I am doing, I need a general collision detector that will be able to know when a specific Actor collides with ANY other Actors in the World. I've done some basic searching through other forums, but to no avail. I can't seem to find a solution to this problem I have.
If there is no Greenfoot-supplied method, would it instead be easier to just have a series of specific "Actor actor = getIntersectingObjects(whatever.class)" statements for each of the other Actors that I have created? Or would it be more efficient (though perhaps more difficult) to write my own collision detection method that will not require a specific class to be passed as an argument?
Thanks for all of your help in advance.

