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

2016/3/9

Access Methods From an Different Actor

Hydrowarrior Hydrowarrior

2016/3/9

#
I want to call the method KiwiBomb in pieship from the Mover Class. The Kiwibomb method isn't done yet but I just wanted to be able to call it but I get an error. Here's a video that shows the code I currently have and the error: Link ps: I know an orange is not a Kiwi its an inside joke
danpost danpost

2016/3/10

#
I have yet to look at your video; but -- why would you edit the Mover class at all? I do not think it was intended for that. At any rate, I will look at the video to see what there is, EDIT: I do not think the method should be there, anyway -- it should probably be in your World subclass.
You need to login to post a reply.