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
bogaboy
wrote ...
2013/5/16
getNeighbours method
bogaboy
2013/5/16
#
I am working on my greeps, and need help using this method. If I want to search for a greep, what goes in the parenthesis in the third spot. EX. if(getNeighbours(5,true,java.lang.????????).size()!=0)
guigowls
2013/5/16
#
the documentation explains it in the reference booklet. good luck
davmac
2013/5/17
#
getNeighbours(...) is intended for low-granularity cell-based scenarios - it's not so useful with Greeps. Try the other collision checking methods.
You need to login to post a reply.
X