Module Menu :: Class Menu
[hide private]
[frames] | no frames]

Class Menu

source code

    Task.Task --+    
                |    
       View.Layer --+
                    |
Input.KeyListener --+
                    |
                   Menu
Known Subclasses:
Settings.GameSettingsMenu, Settings.SettingsMenu

Instance Methods [hide private]
 
__init__(self, engine, choices, onClose='', onCancel='', pos=(0.2, 0.31), viewSize=6, fadeScreen=True) source code
 
selectItem(self, index) source code
 
shown(self) source code
 
hidden(self) source code
 
updateSelection(self) source code
 
keyPressed(self, key, unicode) source code
 
run(self, ticks) source code
 
renderTriangle(self, up=(0, 1), s=0.2) source code
 
render(self, visibility, topMost) source code

Inherited from View.Layer: isBackgroundLayer

Inherited from Task.Task: started, stopped

Inherited from Input.KeyListener: keyReleased

Method Details [hide private]

__init__(self, engine, choices, onClose='', onCancel='', pos=(0.2, 0.31), viewSize=6, fadeScreen=True)
(Constructor)

source code 
Overrides: Task.Task.__init__

shown(self)

source code 
Overrides: View.Layer.shown

hidden(self)

source code 
Overrides: View.Layer.hidden

keyPressed(self, key, unicode)

source code 
Overrides: Input.KeyListener.keyPressed

run(self, ticks)

source code 
Overrides: View.Layer.run

render(self, visibility, topMost)

source code 
Overrides: View.Layer.render