RobotProgram

open class RobotProgram(window: RobotWindow, initialWorld: RobotWorld) extends SimpleSwingApplication

The class RobotsProgram represents (variations of) the robot simulators application. NOTE TO STUDENTS: In this course, you don’t need to understand how this class works or can be used.

object RobotApp.type
object TribalApp.type

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.

Inherited methods

def deafTo(ps: Publisher*): Unit

Installed reaction won't receive events from the given publisher anylonger.

Installed reaction won't receive events from the given publisher anylonger.

Inherited from:
Reactor

Listen to the given publisher as long as deafTo isn't called for them.

Listen to the given publisher as long as deafTo isn't called for them.

Inherited from:
Reactor
def main(args: Array[String]): Unit

Initializes the application and runs the given program.

Initializes the application and runs the given program.

Inherited from:
SwingApplication
def quit(): Unit

Finalizes the application by calling shutdown and exits.

Finalizes the application by calling shutdown and exits.

Inherited from:
SwingApplication
def shutdown(): Unit

Called before the application is exited. Override to customize.

Called before the application is exited. Override to customize.

Inherited from:
SwingApplication
override def startup(args: Array[String]): Unit

Calls top, packs the frame, and displays it.

Calls top, packs the frame, and displays it.

Definition Classes
Inherited from:
SimpleSwingApplication

Inherited fields

All reactions of this reactor.

All reactions of this reactor.

Inherited from:
Reactor