Home | Trees | Indices | Help |
|
---|
|
object --+ | Adventure_GUI
This class contains a GUI for the Adventure text game project. The GUI reads its input from a text field and displays data about the game in uneditable text areas.
See Also: adventure.ui.adventure_text_UI
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Creates a new adventure game frame and starts a new adventure from the beginning. Immediately makes the frame visible.
|
Event handler method: reacts (assuming the game is not over) to the user giving a new command in the command input field. Clears the input field and proceeds to execute the given command.
|
Lets the player play a turn by executing the given command. If the player wants to quit, exits the application. Otherwise, updates the GUI with the game's new status after the player's turn.
|
Updates the GUI with the current game status data.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Aug 29 13:29:54 2012 | http://epydoc.sourceforge.net |