Trees | Indices | Toggle frames |
---|
Layer class and subclasses
A Layer has as size the whole drawable area (window or screen), and knows how to draw itself. It can be semi transparent (having holes and/or partial transparency in some/all places), allowing to see other layers behind it. Layers are the ones defining appearance and behavior, so most of your programming time will be spent coding Layer subclasses that do what you need. The layer is where you define event handlers. Events are propagated to layers (from front to back) until some layer catches the event and accepts it.
Layer
a CocosNode that automatically handles listening to director.window events
|
|
MultiplexLayer
A Composite layer that only enables one layer at the time.
|
Trees | Indices | Toggle frames |
---|
Generated by Epydoc 3.0beta1 on Wed Sep 08 23:50:17 2010 | http://epydoc.sourceforge.net |