local image = ccui.ImageView:create("app/images/game/101.png",0)
self:addChild(image)
image:setTouchEnabled(true) // 开启触摸才能触发监听事件
image:addClickEventListener(function()
print("clicked")
end)
local image = ccui.ImageView:create("app/images/game/101.png",0)
self:addChild(image)
image:setTouchEnabled(true) // 开启触摸才能触发监听事件
image:addClickEventListener(function()
print("clicked")
end)