/** * Return all the objects that intersect the given object. This takes the graphical extent of * objects into consideration. * * @param actor An Actor in the world * @param cls Class of objects to look for (null or Object.class will find all classes) */ List getIntersectingObjects(Actor actor, Class cls) { return collisionChecker.getIntersectingObjects(actor, cls); }
/** * Return all the objects that intersect the given object. This takes the graphical extent of * objects into consideration. * * @param actor An Actor in the world * @param cls Class of objects to look for (null or Object.class will find all classes) */ @SuppressWarnings("unchecked") List getIntersectingObjects(Actor actor, Class cls) { return collisionChecker.getIntersectingObjects(actor, cls); }