MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / onTouchBegan

Method onTouchBegan

Source/UILayer.cpp:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63bool 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
71void UILayer::onTouchEnded(ax::Touch* touch, ax::Event* event)
72{

Callers

nothing calls this directly

Calls 1

pushButtonMethod · 0.80

Tested by

no test coverage detected