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

2013/3/5

Not implementing move

kaciedy kaciedy

2013/3/5

#
In my act I have a group of objects being implementing the method "move". But, if for instance one of those objects gets to a certain location before another and I want it to stop, how would that be achieved other than making move an int like move(-5);? Thank you.
danpost danpost

2013/3/6

#
Determine what conditions will be true when the actors reach that location and only move when that condition returns false.
You need to login to post a reply.