Greenfoot says "missing return statement"...so it wont compile =( but I thought I did have one?
public boolean canSeeLine()
{
if (getRotation() == 0)
{
Actor bLine = getOneObjectAtOffset(5, 0, BlueLine.class);
if(bLine != null)
{
return true;
}
else
{
return false;
}
}
}