Class CCTargetedTouchHandler

#include <Geode/cocos/touch_dispatcher/CCTouchHandler.h>
classCCTargetedTouchHandler:publiccocos2d::CCTouchHandler{ ... }

CCTargetedTouchHandler Object than contains the claimed touches and if it swallows touches. Used internally by TouchDispatcher

Examples0
Public static methods1
staticcocos2d::CCTargetedTouchHandler*handlerWithDelegate(,
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

voidsetSwallowsTouches(
boolbSwallowsTouches
)
No description provided
cocos2d::CCSet*getClaimedTouches()

MutableSet that contains the claimed touches

boolinitWithDelegate(,
intnPriority
,
boolbSwallow
)

initializes a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not

Fields0
Protected member functions0
Protected fields2
boolm_bSwallowsTouches
;
No description provided
cocos2d::CCSet*m_pClaimedTouches
;
No description provided