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

2019/8/9

Problem using canSee method

kml008 kml008

2019/8/9

#
some time this method works and some time it doesnt
danpost danpost

2019/8/9

#
kml008 wrote...
some time this method works and some time it doesnt
It will only work in an Actor subclass that extends the Animal class or one that has a canSee method within itself. As an alternative, you can use the isTouching method.
You need to login to post a reply.