On Wed, Oct 8, 2008 at 2:47 PM, David Eyk <[EMAIL PROTECTED]> wrote: > > I'm confused by the proliferation of anchors on CocosNode. I've looked > at the comments, and anchor is commented doing the same thing as both > children_anchor and transform_anchor. Yet is anchor used at all? I > haven't seen it used except in the definition.
anchor is a property that sets both transform_anchor and children_anchor at the same time. When getting the two values are compared and if different an exception is raised. Well, anchor would be used when you want both children_anchor and transform_anchor to have the same values. That would be just the case when it makes no sense to have two different anchors, so you could forget that there are two anchors and use only one. -- Kao Cardoso Félix Página pessoal: http://www.inf.ufrgs.br/~kcfelix Blog: http://kaofelix.blogspot.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
