I am in a Grade 12 AP Computer Science course and we are currently recreating the Jeroo environment within Greenfoot. So far I have recreated everything that Jeroo can do within Greenfoot. I just need to know how to add the Jeroo object into the world using the Jeroo constructor. In a separate class I have code that looks like this:
However this will not add the object into the world. Is there anyway I can add the object into the world using the Jeroo's constructor? I've tried many work arounds and so far nothing works. Could anyone please help?
Thanks,
Diljot.
1 | Jeroo bob = new Jeroo(); |