LayerManager - Appending Layers

To use your project efficiently, LayerManagers are ultimately recommended. They allow for easy position change of a whole area or to limit the viewing range of it.

LayerManagers do this by grouping many layers into one and drawing one after another. When you append a Layer, it goes to the bottom, so it gets drawn the last. When you append another one, this new one is going to be the last.

When you Insert Layers, you can actually specify the index of the Layers. If you specify 0, it is going to be the first Layer, if you specify 1 it is going to be the Layer after the first Layer and so on.

When you Insert and Append Layers, they get removed from the old LayerManager position to the new one, but a Layer can be in multiple LayerManagers at once. Take this in mind when creating sorting algorithms to use with the library.


Generated on Sun Jun 29 14:29:26 2008 for libwiisprite by  doxygen 1.5.5