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

2013/5/14

Setting my world

1
2
welleid welleid

2013/5/15

#
Thanks a lot ! I didnt think about that and didnt even know about the "return" method. Thanks again !
danpost 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