Also not what I mean .. sorry ..
It may even all work, but I really wonder why it isn't possible to have it all a bit more transparent like the rest.
A hook for each instance, without instances even knowing other instances.. like it is now.. since they're in the same list.
So create them like this:
All these, not being in any list, and each with its own private hook. No globals, no type-globals, no lists.. It should look/feel just like the first sample I posted, but then automated with hooks..
With degac's last one I'd be done, except for the global..
Yes, sorry for my anti-globalism-campaign, but uhm.. I hate them.. :D
Any new suggestions? :P
It may even all work, but I really wonder why it isn't possible to have it all a bit more transparent like the rest.
A hook for each instance, without instances even knowing other instances.. like it is now.. since they're in the same list.
So create them like this:
local t:createtest(10,20,30,40,win) local t2:createtest(30,40,50,60,win) local doggy:createtest(50,60,70,80,win) local helloworld:createtest(150,160,170,180,win) local bratwurst:createtest(150,160,170,180,win) .. and each one should work indepentently..
All these, not being in any list, and each with its own private hook. No globals, no type-globals, no lists.. It should look/feel just like the first sample I posted, but then automated with hooks..
With degac's last one I'd be done, except for the global..
Yes, sorry for my anti-globalism-campaign, but uhm.. I hate them.. :D
Any new suggestions? :P