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
welleid
wrote ...
2013/5/14
Setting my world
1
2
welleid
2013/5/15
#
Thanks a lot ! I didnt think about that and didnt even know about the "return" method. Thanks again !
danpost
2013/5/15
#
You really do not need a return method, in this instance. It could have been coded as follows:
if (delayTimer == 0) { angle = (angle+1)%360; updateLocation(); }
You need to login to post a reply.
1
2
X