| 61 | } |
| 62 | |
| 63 | bool UILayer::onTouchBegan(ax::Touch* touch, ax::Event* event) |
| 64 | { |
| 65 | auto pl = PlayLayer::getInstance(); |
| 66 | pl->_player1->pushButton(); |
| 67 | if (pl->_isDualMode) pl->_player2->pushButton(); |
| 68 | return true; |
| 69 | } |
| 70 | |
| 71 | void UILayer::onTouchEnded(ax::Touch* touch, ax::Event* event) |
| 72 | { |
nothing calls this directly
no test coverage detected