This site requires JavaScript, please enable it in your browser!
Greenfoot back
zeltwood
zeltwood wrote ...

2019/5/19

ERROR: Can not find symbol

zeltwood zeltwood

2019/5/19

#
I'm trying to code with canSee, atWorldEdge,, and eat, but I get the message in the title. Do I have to download these somehow? My teacher in school used these methods and they worked fine.
danpost danpost

2019/5/19

#
zeltwood wrote...
I'm trying to code with canSee, atWorldEdge,, and eat, but I get the message in the title. Do I have to download these somehow? My teacher in school used these methods and they worked fine.
Please show class code where you are trying to use them.
zeltwood zeltwood

2019/5/19

#
Thank's for replying to my discussion, danpost. Here's an imgur link, I hope this helps!
danpost danpost

2019/5/19

#
zeltwood wrote...
Thank's for replying to my discussion, danpost. Here's an imgur link, << Link Omitted >>
That is not the complete class code. From what class is that class extending? Does it extend the Animal class? (I bet your teacher's class did).
zeltwood zeltwood

2019/5/19

#
BadGuy, which has the error, extends Enemy, which extends Jumper, which extends Actor. I don't have an animal class. Here's an image of my classes.
Super_Hippo Super_Hippo

2019/5/19

#
Import the Animal class and have extend this class to use methods which are from the class. Next time, link the image file, not the website on which you see the image:
zeltwood zeltwood

2019/5/19

#
Thanks! it worked, you saved my grade.
You need to login to post a reply.