This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
nona
wrote ...
2014/4/21
problem with at world edge method help me plz
nona
2014/4/21
#
i extend mover class all its methods work except atWorldEdge why it doesn't work ?
danpost
2014/4/21
#
How are you using it? Show your code.
nona
2014/4/21
#
public void act() { move(4); if (atWorldEdge()) {turn(12); } }
nona
2014/4/21
#
well it's only work at on edge
danpost
2014/4/21
#
nona wrote...
well it's only work at on edge
I am not sure I understand. What are you wanting the actor to do and how is it not doing it?
You need to login to post a reply.
X