Home > other >  The couple of questions about coco2d
The couple of questions about coco2d

Time:09-20

Plant - & gt; BoundingBox (.) containsPoint (touch - & gt; GetLocation ()

Plant is a Sprite, but I checked the boundingBox not containsPoint below this method, is that how to implement, can call this method?

CodePudding user response:

ContainsPoint this function under the Rect, boundingBox returns a the Rect

CodePudding user response:

Got it, thank you,,,

CodePudding user response:

 
66666
  • Related