AdventureGUI

o1.adventure.ui.AdventureGUI

The singleton object AdventureGUI represents a GUI-based version of the Adventure game application. The object serves as a possible entry point for the game app, and can be run to start up a user interface that operates in a separate window. The GUI reads its input from a text field and displays information about the game world in uneditable text areas.

NOTE TO STUDENTS: In this course, you don’t need to understand how this object works on the inside. It’s enough to know that you can use this file to start the program.

Attributes

See also
Supertypes
trait Reactor
class Object
trait Matchable
class Any
Show all

Members list

Inherited Not inherited
  • Not inherited
  • Reactor
  • SimpleSwingApplication
  • SwingApplication
Keywords
  • no keywords
  • override

Value members

Concrete methods

def top: Frame

A GUI application's version of the main method. Called by the default main method implementation provided by this class. Implement to return the top-level frame of this application.

A GUI application's version of the main method. Called by the default main method implementation provided by this class. Implement to return the top-level frame of this application.