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

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