Adventure Docs
Fall 2026
API

# o1.adventure.ui

package o1.adventure.ui

## Members list

### Type members

#### Classlikes

final class startAdventureGUI

## Attributes

Supertypes
  class Object
  trait Matchable
  class Any

final class startAdventureTextUI

## Attributes

Supertypes
  class Object
  trait Matchable
  class Any

### Value members

#### Concrete methods

def startAdventureGUI(): Unit

Starts a GUI version of the Adventure game application in a separate window. (Cf. `startAdventureTextUI`.) The GUI reads its input from a text field and displays information about the game world in uneditable text areas.

Starts a GUI version of the Adventure game application in a separate window. (Cf. `startAdventureTextUI`.) 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

def startAdventureTextUI(): Unit

Starts a fully text-based version of the Adventure game in the console. (Cf. `startAdventureGUI`.)

Starts a fully text-based version of the Adventure game in the console. (Cf. `startAdventureGUI`.)

NOTE: The AdventureDraft module is not even close to being well-designed. See Chapter 9.3 in the course materials.

## Attributes