has anyone ever tried to register a class method as a handler? I succeeded in registering it and it is actually called, however the data passed is wrong - very odd.
I can’t see a reason why you would add a scene handler whenever you create a class instance. If you created 100, there would be 100 scene handlers calling the scene_update function for no reason - it will give you the same object count 100x and add a lot of overhead.
@pink vertex: What is your code supposed to do? Your handler registration won’t work… @CoDEmanX: In this case, the instance can only exist once at a time.
In the meantime I found a global method more practical for other reasons. Using a class would have been cleaner, but, as said in the other topic, registering a class method handle is not possible.