CCTargetedTouchHandler Object than contains the claimed touches and if it swallows touches. Used internally by TouchDispatcher
Class CCTargetedTouchHandler
#include <Geode/cocos/touch_dispatcher/CCTouchHandler.h>
classCCTargetedTouchHandler:publiccocos2d::CCTouchHandler{ ... }
Examples0
Public static methods1
staticcocos2d::CCTargetedTouchHandler*handlerWithDelegate(cocos2d::CCTouchDelegate*pDelegate,intnPriority,boolbSwallow)
allocates a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not
Public member functions4
boolisSwallowsTouches()
whether or not the touches are swallowed
cocos2d::CCSet*getClaimedTouches()
MutableSet that contains the claimed touches
boolinitWithDelegate(cocos2d::CCTouchDelegate*pDelegate,intnPriority,boolbSwallow)
initializes a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not
Fields2
boolm_bSwallowsTouches;
No description provided
cocos2d::CCSet*m_pClaimedTouches;
No description provided