Hey! I'm new to using Green Foot and I'm having trouble understanding how to make a method, I've been watching the help videos but every time I try to use some code like:
if (canSee(Avatar.class))
{
eat(Avatar.class);
}
It tells me I haven't declared the methods yet (eat & canSee), I don't understand how to declare the method... Please help me.
![Twitter](/assets/twitter-4e19209ef84344ee0c433f4c7bad8d49.png)
![Twitter.hover](/assets/twitter.hover-1fb19a5bafc50deace8f88eaec867845.png)