On Tue, Jul 6, 2010 at 9:29 PM, Richard Jones <[email protected]>wrote: [...]
> I found I was accessing the scene a lot, so I added it for convenience. The layer accessor I added turns out to be much less used. > > It seemed like a good idea at the time :-) > > Then I discovered the scene is accessible through the director (while > doing the quickref)... and though I am generally really not so happy > with accessing information through a global singleton like that, it > kinda makes sense in the context of cocos Ehhh ..., well if cocos goes for multiple windows probably the singleton disappears ( or mutates to app ) and we will need a WindowDirector , not singleton. In an app I would use the same as in the test that broke: set the .scene member in the on_enter method Buy anyway there's nothing particularly difficult. (which, by the way, I only > just learnt yesterday means coconut :-) > > lol ! > I have no problem with removing these properties. I have done so. > > > Richard > Thanks ! -- claudio -- 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.
