Package parpg :: Module charactercreationview :: Class CharacterCreationView
[hide private]
[frames] | no frames]

Class CharacterCreationView

source code

       object --+    
                |    
viewbase.ViewBase --+
                    |
                   CharacterCreationView

View used to display the character creation screen.

Instance Methods [hide private]
 
__init__(self, engine, model, settings)
Construct a new CharacterCreationView instance.
source code
 
show(self)
Display the view.
source code
 
hide(self)
Hide the view.
source code
 
startNewGame(self)
Callback tied to the startButton.
source code
 
cancelNewGame(self)
Callback tied to the cancelButton.
source code

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

Instance Variables [hide private]
pychan.Widget background
Widget displayed as the background.
callable cancel_new_game_callback
Callback attached to the cancelButton.
pychan.Widget character_screen
Widget used to display the character creation screen.
callable start_new_game_callback
Callback attached to the startButton.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, engine, model, settings)
(Constructor)

source code 

Construct a new CharacterCreationView instance.

Parameters:
  • engine (fife.Engine) - Rendering engine used to display the view.
  • model (GameState) - Model of the game state.
Overrides: object.__init__

show(self)

source code 

Display the view.

Returns:
None

hide(self)

source code 

Hide the view.

Returns:
None

startNewGame(self)

source code 

Callback tied to the startButton.

Returns:
None

cancelNewGame(self)

source code 

Callback tied to the cancelButton.

Returns:
None