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

2018/12/16

How do you define WorldEdge? How do I make objects disappear under defined circimstances?

Blyat Blyat

2018/12/16

#
My problem is that my object (Bullet) doesn't know what WorldEdge is. When it's shot and touches WorldEdge it has to disappear. But when I write ,,if ( (atWorldEdge) )'' it says: ,,cannot find symbol - method atWorldEdge()'' Thank you for your help!
danpost danpost

2018/12/16

#
There is no method with that name listed in the Actor class documentation. The method you want is there, however.
You need to login to post a reply.