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

2018/12/20

reloading ammo, help

1
2
shah5826 shah5826

2018/12/21

#
Thank you very much for helping me! The game works perfectly now. Hopefully, I get a good grade on this. I was wondering whether it would make a difference if I used getOneIntersectingObject instead of isTouching. Once again, thank you very much for your assistance!
danpost danpost

2018/12/21

#
shah5826 wrote...
I was wondering whether it would make a difference if I used getOneIntersectingObject instead of isTouching.
Really no difference -- but easier to read. The underlying implementation of the isTouching method uses the getOneIntersectingObject method anyways.
shah5826 shah5826

2018/12/22

#
Great! thank you
You need to login to post a reply.
1
2