On Thu, Oct 9, 2008 at 6:29 PM, Kao Cardoso Felix <[EMAIL PROTECTED]> wrote:
> As I see this there are a few options:
>
> 1. Drop the class entirely, as suggested before.
> 2. Discover with someone more experienced in Python multiple
> inheritance the right way to do this (this someone could be one of you
> guys, or even me if I can learn how to do it :)
> 3. Use a metaclass or something alike to embed event handler niceties
> to the classes that need it (this would need some careful to not make
> the code too obscure)
>

ok, we want a event handler mixin. ill put the stuff thats in
layer.on_enter into the mixin and make sure it gets called.

Lucio.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to