| Trees | Indices | Toggle frames |
|---|
object --+
|
cocosnode.CocosNode --+
|
object --+ |
| |
scene.EventHandlerMixin --+
|
Layer --+
|
MultiplexLayer
A Composite layer that only enables one layer at the time.
This is useful, for example, when you have 3 or 4 menus, but you want to show one at the time
|
__init__(self,
*layers)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
|
|
|
switch_to(self,
layer_number)
Switches to another Layer that belongs to the Multiplexor.
|
|
|
on_enter(self)
Called every time just before the node enters the stage.
(Inherited from cocos.layer.base_layers.Layer)
|
|
|
on_exit(self)
Called every time just before the node leaves the stage
(Inherited from cocos.layer.base_layers.Layer)
|
|
| push_all_handlers(self) (Inherited from cocos.layer.base_layers.Layer) | |
| remove_all_handlers(self) (Inherited from cocos.layer.base_layers.Layer) | |
Inherited from cocosnode.CocosNode:
__contains__,
add,
are_actions_running,
do,
draw,
get,
get_ancestor,
get_children,
pause,
pause_scheduler,
remove,
remove_action,
resume,
resume_scheduler,
schedule,
schedule_interval,
stop,
transform,
unschedule,
visit,
walk
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|
|
Inherited from object:
__class__
|
Inherited from cocosnode.CocosNode:
actions,
camera,
children,
children_anchor_x,
children_anchor_y,
children_names,
grid,
is_running,
rotation,
scale,
scheduled_calls,
scheduled_interval_calls,
skip_frame,
to_remove,
transform_anchor_x,
transform_anchor_y,
visible,
x,
y
|
is_event_handler = False
if true, the event handlers of this layer will be registered.
(Inherited from cocos.layer.base_layers.Layer)
|
|
Inherited from cocosnode.CocosNode:
anchor,
anchor_x,
anchor_y,
children_anchor,
parent,
position,
transform_anchor
|
|
| Trees | Indices | Toggle frames |
|---|
| Generated by Epydoc 3.0beta1 on Sat Sep 6 13:21:11 2008 | http://epydoc.sourceforge.net |