On Mon, Aug 6, 2012 at 4:17 PM, Nitneroc <[email protected]> wrote:
> Hi ! > The few tests I did seem to indicate that get_children() will return the > list in the order the children were created, if they are at the same z > value. > Do you think I can rely on this, or does it seem too unsure to you ? > I think you can rely on this. As you have seen, the code ensures that, and there are no plan to change that code. > There is nothing about this on documentation, so I looked at the code, and > it uses bisect.insort_right, which preserves order, so I guess it's ok, but > maybe some of you know something I should be aware of. > Thank you for reading > -- > -- 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.
