July 7, 2009 at 05:26 pm - by romagen (4 Posts) | |
|---|---|
Instructions say:
Above the world display is a title that shows the name of the world – “WombatWorld” in our case. Right-click this title, and you will see the world’s menu. One of the methods in this menu is ‘populate()’.
When I right-click the world title, I do not see 'populate()' menu. I see 'New WombatWorld()' in blue font and the following menues in red font: 'Open editor', 'Set image...', 'Inspect', 'Remove', and 'New subclass...'.
The ‘randomLeaves(int howMany)’ method is nowhere to be found either. | |
July 9, 2009 at 10:15 am - by JeffC (8 Posts) | |
|---|---|
Yup. That is what you are looking for. | |
July 8, 2009 at 03:23 pm - by romagen (4 Posts) | |
|---|---|
Thanks, JeffC. Only when I right-click on "wombatWorld", the methods I see in the sub-menu are "void populate()" and "void randomLeaves(int)". | |
July 7, 2009 at 08:50 pm - by gymmonkeykb (2 Posts) | |
|---|---|
sorry it actually said illegal start of expression...
| |
July 7, 2009 at 08:47 pm - by gymmonkeykb (2 Posts) | |
|---|---|
As I was going through the tutorial, I went to change the act() to public void act() and it keeps telling me I have an illegal expression... What does that mean? | |
July 7, 2009 at 05:50 pm - by JeffC (8 Posts) | |
|---|---|
To find the populate method, right click on the world title which is actually located in the center of the screen, not on the side. See picture.
| |



