Good Day
Is it okay If I have 2 functions on 1 Object? I tried it and it worked, but the question is, is it wise? Will it consume more memory, or will it be the same? what are the risk if I do this? thanks in advance
code works like this:
local function A(event) --DO SOMETHING end local function B(event) --DO SOMETHING end local asd = display.newRect(0,0,100,100) asd.x = centerX asd.y = centerY asd:addEventListener("touch",A) asd:addEventListener("touch",B)
