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

Method onTouchMoved

tests/cpp-tests/Source/MenuTest/MenuTest.cpp:540–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538}
539
540void RemoveMenuItemWhenMove::onTouchMoved(Touch* touch, Event* event)
541{
542 if (item)
543 {
544 item->removeFromParentAndCleanup(true);
545 item->release();
546 item = nullptr;
547 }
548}
549
550bool MenuTest::init()
551{

Callers

nothing calls this directly

Calls 2

releaseMethod · 0.45

Tested by

no test coverage detected