Hi all,
Please help me!
I have a "main" class include many "Object", and each Object have own Event.Mouse_Move!
I want to each object when receive Event.Mouse_Move do a fu:
in main.lua
function f1()
end
function f2()
end
function f3()
end
obj1 = Object.new()
obj2 = Object.new()
obj3 = Object.new()
obj1.EventMouseMove = f1()--I dont what exactly structure
obj2.EventMouseMove = f2()
obj3.EventMouseMove = f3()
Comments