Would greatly appreciate some help with this assignment.
My instructions are to Create a method called getIntersectingOrb(). When invoked, it should return the Orb object that intersects with the current Orb. If there is no intersecting Orb, it returns null.
This is what I have:
private Actor getIntersectingOrb()
{
Actor orb = getOneIntersectingObject(Orb.class);
if(orb != null)
{
return (orb) getOneIntersectingObject(Orb.class);
}
}
Ii keep getting "missing return statement"

