---------- Forwarded message ---------- From: <[email protected]> Date: Sun, Apr 10, 2011 at 5:34 PM Subject: Re: Issue 74 in los-cocos: add with name, remove with reference, add gain with name fails To: [email protected]
Comment #2 on issue 74 by [email protected]: add with name, remove with reference, add gain with name fails http://code.google.com/p/los-cocos/issues/detail?id=74 I'd also like to see this change so that adding by name and then removing by object works. I can submit a patch with tests if you will allow it. One could solve it by (1) adding a 'name' field to a cocos_node, (2) adding a dictionary of {node : object}, (3) search through children_names to find the name and object. I can do it any way you prefer. -- -- 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.
