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

2013/4/1

Question to some Actor mehtods

Gevater_Tod4711 Gevater_Tod4711

2013/4/1

#
Hi all, I got a question concerning some methods in the Actor class. E.g. The methods getIntersectingObjects, getOneObjectAtOffset, ... Why are these methods declared protected and not public? I often have got situations where the use of these methods from other classes would be very helpfull. But because they are protected I always need to declare some helpmehtods. If these methods don't need to be protected it would be great if you could change that in the next greenfoot update. Actually this question is for the Greenfoot Admin Team but if anyone else knows the answer feel free to answer it.
You need to login to post a reply.