I'm having trouble with extremely simple code. The problem is that Greenfoot is not identifying the "canSee" and "eat" methods. Please help!
This is the code (keep in mind 'canSee' and 'eat' are underlined in red.
/**
* Check whether we can see Dot01. If we can, eat it.
*/
public void tryToEatDot01()
{
if (canSee(Dot01.class) )
{
eat(Dot01.class);
Dot01Eaten++;
if (Dot01Eaten == 17)
{
gameOver();
}
}
}

