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

2013/5/16

Greep Method List

bogaboy bogaboy

2013/5/16

#
Does anybody know where I can find a list of methods to be used on my Greeps project?
davmac davmac

2013/5/16

#
See the greeps page. There is no method list as such, but you can use any method that doesn't break the rules.
danpost danpost

2013/5/16

#
I know greeps cannot communicate with each other, and greeps can 'see' a tomato pile if on top of one; but, can greeps use the location of the tomato pile in deciding what to do by using (getOneIntersectingObject(TomatoPile)).getX() and .getY()? or even .getImage().getWidth() and .getHeight()?
davmac davmac

2013/5/17

#
I don't believe that calling getX() or getY() on another object that you can already 'see' breaks any of the rules.
You need to login to post a reply.