SimulationSpeed

floodsim.controller.SimulationSpeed
enum SimulationSpeed(val tickInterval: Double)

Defines the available simulation speed settings. Each speed setting determines the interval between simulation ticks.

Value parameters

tickInterval

the time interval in milliseconds between simulation ticks

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case Fast extends SimulationSpeed

Fast simulation speed (2 ticks per second).

Fast simulation speed (2 ticks per second).

Attributes

case Normal extends SimulationSpeed

Normal simulation speed (1 tick per second).

Normal simulation speed (1 tick per second).

Attributes

case UltraFast extends SimulationSpeed

Ultra-fast simulation speed (10 ticks per second).

Ultra-fast simulation speed (10 ticks per second).

Attributes

case VeryFast extends SimulationSpeed

Very fast simulation speed (5 ticks per second).

Very fast simulation speed (5 ticks per second).

Attributes