io.github.srs

package io.github.srs

Members list

Type members

Classlikes

final case class AppArgs(headless: Boolean, path: Option[String], simulationTime: Option[Long], seed: Option[Long])

Arguments for the application.

Arguments for the application.

Value parameters

headless

true if the application should run in headless mode (CLI), false for GUI mode.

path

the path to the configuration file.

seed

the seed for the random number generator.

simulationTime

the time to run the simulation for (in milliseconds).

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ArgParser

Command-line argument parser for the Scala Robotics Simulator application.

Command-line argument parser for the Scala Robotics Simulator application.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ArgParser.type

Base trait for launching the Scala Robotics Simulator application.

Base trait for launching the Scala Robotics Simulator application.

It sets up the Model-View-Controller (MVC) architecture and provides a method to run the simulation.

The specific view implementation (GUI or CLI) is provided by the extending objects.

Attributes

Supertypes
Known subtypes
object CLILauncher
object GUILauncher

Launcher object for the CLI version of the Scala Robotics Simulator.

Launcher object for the CLI version of the Scala Robotics Simulator.

Attributes

Supertypes
Self type

Launcher object for the GUI version of the Scala Robotics Simulator.

Launcher object for the GUI version of the Scala Robotics Simulator.

Attributes

Supertypes
Self type
final class main

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def main(args: String*): Unit

Creates the initial state of the simulation based on the provided configuration.

Creates the initial state of the simulation based on the provided configuration.

Value parameters

cfg

the simulation configuration to use for initializing the state

Attributes

Returns

the initial state of the simulation