예제 #1
0
bool MgCmdDrawLines::click(const MgMotion* sender)
{
    return (m_step == 0 ? _click(sender)
            : touchBegan(sender) && touchEnded(sender));
}
예제 #2
0
void APTouchManager::onTouchCancelled(cocos2d::Touch* touch, cocos2d::Event* event){
	touchEnded(touch, true);

}
예제 #3
0
bool MgCmdDrawDot::click(const MgMotion* sender)
{
    return touchBegan(sender) && touchEnded(sender);
}
예제 #4
0
void APTouchManager::onTouchEnded(cocos2d::Touch* touch, cocos2d::Event* event){
	touchEnded(touch, false);
}
예제 #5
0
bool MgCmdParallelogram::click(const MgMotion* sender)
{
    return touchBegan(sender) && touchEnded(sender);
}