Module game_layers :: Class StatusMenu
[hide private]
[frames] | no frames]

Class StatusMenu

source code

                   object --+        
                            |        
    cocos.cocosnode.CocosNode --+    
                                |    
                   object --+   |    
                            |   |    
cocos.scene.EventHandlerMixin --+    
                                |    
    cocos.layer.base_layers.Layer --+
                                    |
                                   StatusMenu

Instance Methods [hide private]
 
__init__(self, settingsLayer, player)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
on_enter(self)
Called every time just before the node enters the stage.
source code
 
on_mouse_release(self, x, y, buttons, modifiers) source code
 
step(self, dt) source code

Inherited from cocos.layer.base_layers.Layer: on_exit, push_all_handlers, remove_all_handlers

Inherited from cocos.cocosnode.CocosNode: __contains__, add, are_actions_running, do, draw, get, get_ancestor, get_children, get_local_inverse, get_local_transform, get_world_inverse, get_world_transform, kill, pause, pause_scheduler, point_to_local, point_to_world, remove, remove_action, resume, resume_scheduler, schedule, schedule_interval, stop, transform, unschedule, visit, walk

Inherited from cocos.cocosnode.CocosNode (private): _get_parent, _get_position, _get_rotation, _get_scale, _get_x, _get_y, _remove, _set_parent, _set_position, _set_rotation, _set_scale, _set_x, _set_y, _step

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  is_event_handler = True
if true, the event handlers of this layer will be registered.

Inherited from cocos.cocosnode.CocosNode: anchor, anchor_x, anchor_y, parent, position, rotation, scale, transform_anchor, x, y

Instance Variables [hide private]

Inherited from cocos.cocosnode.CocosNode: is_running, scheduled_calls, scheduled_interval_calls

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, settingsLayer, player)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

on_enter(self)

source code 

Called every time just before the node enters the stage.

scheduled calls and worker actions begins or continues to perform

Good point to do .push_handlers if you have custom ones
Rule: a handler pushed there is near certain to require a .pop_handlers
in the .on_exit method (else it will be called even after removed from
the active scene, or, if going on stage again will be called multiple
times for each event ocurrence)

Overrides: cocos.cocosnode.CocosNode.on_enter
(inherited documentation)