METS BLOG

METS BLOG

Cocos2D-X TouchEvents

Overview :

  • Class to listen to touch events – CCTargetedTouchDelegate
  • Class which will override listening methods – MyTouchListener
  • Note that this class could be a CCLayer instead of CCNode

Usage


One response to “Cocos2D-X TouchEvents”

  1. Pabitra Padhy says:

    what is the use of this.. !!

    can you site some instances, where we could possibly use this.. !!
    and what’s the point of adding the touch as child to a layer..!!

    Regards,
    Pabitra Padhy

Leave a Reply

Your email address will not be published. Required fields are marked *