SimulationOptions

public class SimulationOptions extends Object

Options to be used inside the Simulator.

Public Constructor Summary

Public Method Summary

float
SimulationOptions
speedMultiplier(float speedMultiplier)
Configures the speed multiplier to use when simulating travel along a route.

Inherited Method Summary

Public Constructors

public SimulationOptions ()

Public Methods

public float getSpeedMultiplier ()

public SimulationOptions speedMultiplier (float speedMultiplier)

Configures the speed multiplier to use when simulating travel along a route.

The default is 1x speed.

Parameters
speedMultiplier
Returns
  • the object for which the method was called, with the updated speed multiplier