MCPcopy Create free account
hub / github.com/axmolengine/axmol / onTouchesBegan

Method onTouchesBegan

templates/cpp/Source/MainScene.cpp:145–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void MainScene::onTouchesBegan(const std::vector<ax::Touch*>& touches, ax::Event* event)
146{
147 for (auto&& t : touches)
148 {
149 // AXLOGD("onTouchesBegan detected, X:{} Y:{}", t->getLocation().x, t->getLocation().y);
150 }
151}
152
153void MainScene::onTouchesMoved(const std::vector<ax::Touch*>& touches, ax::Event* event)
154{

Callers 1

dispatchTouchEventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected