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

2020/3/12

starting location - rover scenario

derklenemo derklenemo

2020/3/12

#
Hello, I am searching for a solution to move the rover back to it´s starting position after the programm has ended (standing on a mark). I think i have to get to implement the coordinates by int posX = getX(); int posY = getY(); but how do i move on. I couldn´t find anything on the internet yet. thanks for your help in advance
danpost danpost

2020/3/12

#
vvv Does this do what you want vvv?
Greenfoot.setWorld(new MyWorld());
You need to login to post a reply.