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