Hey, I was trying to prevent Objects (no specific ones) from spawning on eachother.
The code looks like this:
The code itself seems to be okay but I dont know how to implement the addObject command, since I dont want to add a specific class.
public void newObject(Actor r)
{
if (getObjectsAt(met,met2,Meteorite.class).isEmpty())
{
}
}
