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

2015/5/12

Creating chess game--how do I check when two objects overlap?

needcodehelp needcodehelp

2015/5/12

#
I'm creating a chess game. How do I check when two objects overlap (say a white king & a black pawn). I have each object (chess piece) as a separate class under my Mover class. Thanks!
davmac davmac

2015/5/12

#
Please read >this<. (Hint: you can use getOneIntersectingObject or one of several other methods for this.)
You need to login to post a reply.