On Tue, Apr 7, 2009 at 5:08 AM, Lucio Torre <[email protected]> wrote: > Hey, > > i did the layer refactor. Now: > - layers are created by factories, they can be registered by plugins > - the editor starts with 0 layers, the layers menu allows you to > create new layers (reads the registered types) > - we can create collision layers (this is for the collision guys to fix) > - modes are associated with layer_types. a mode can also be associated > with many layer types > - the loader and serializer use the facotries to read and write the map
One extra detail to consider, the current layer can be None now. (this is when the editor starts and there are no layers). So please consider that on code that may be run before any layer is created. 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 -~----------~----~----~----~------~----~------~--~---
