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

Method onTouchEnded

Source/UILayer.cpp:71–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void UILayer::onTouchEnded(ax::Touch* touch, ax::Event* event)
72{
73 auto pl = PlayLayer::getInstance();
74 pl->_player1->releaseButton();
75 if (pl->_isDualMode) pl->_player2->releaseButton();
76}

Callers

nothing calls this directly

Calls 1

releaseButtonMethod · 0.80

Tested by

no test coverage detected