Packages

abstract class TribalScenario extends RandomScenario

This class represents ready-made tribal robot fight scenarios (that the user can choose to load up from the Tribal menu).

NOTE TO STUDENTS: In this course, you don't need to understand how this class works or can be used.

Linear Supertypes
RandomScenario, Scenario, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TribalScenario
  2. RandomScenario
  3. Scenario
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TribalScenario(name: String)

    name

    the name of the scenario, to be displayed in the menu

Abstract Value Members

  1. abstract def isAvailable: Boolean
    Definition Classes
    Scenario
  2. abstract def setup(locator: Component): Option[RobotWorld]
    Definition Classes
    Scenario

Concrete Value Members

  1. def accelerator: Option[KeyStroke]
    Definition Classes
    Scenario
  2. def makeDirection(): grid.CompassDir
    Definition Classes
    RandomScenario
  3. val name: String
    Definition Classes
    Scenario