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

2013/2/15

World Question.

1
2
danpost danpost

2013/2/16

#
Sorry, in the setLocation parenthesis 'getX()' always comes before 'getY()'.
danpost danpost

2013/2/16

#
The 'addedToWorld' method has 'world' being supplied to it through the method argument (parameter field). The 'act' method does not. You need to start your act method as follows:
public void act()
{
    World world = getWorld();
    // etc.
Gingervitis Gingervitis

2013/2/16

#
Thank you! You have been such a great help to me with my game.
You need to login to post a reply.
1
2