floodsim.model.logic

Members list

Packages

Type members

Classlikes

sealed trait BaseMapGenerator

Base trait providing common functionality for map generation. Contains utility methods for random selection of the center of the generation and Gaussian weight calculations used by both ground and sky map generators.

Base trait providing common functionality for map generation. Contains utility methods for random selection of the center of the generation and Gaussian weight calculations used by both ground and sky map generators.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
sealed trait GroundMapGenerator extends BaseMapGenerator

Trait for generating ground terrain maps with different cell types. Uses Gaussian distribution to create natural-looking terrain patterns with different building types concentrated around the center.

Trait for generating ground terrain maps with different cell types. Uses Gaussian distribution to create natural-looking terrain patterns with different building types concentrated around the center.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MapGenerator

Main map generator object that mixes ground and sky generation capabilities.

Main map generator object that mixes ground and sky generation capabilities.

Attributes

Supertypes
class Object
trait Matchable
class Any
Show all
Self type
sealed trait SkyMapGenerator extends BaseMapGenerator

Trait for generating sky/weather maps with different weather patterns. Uses Gaussian distribution bands to create realistic weather patterns that vary based on distance from a weather center and intensity parameter.

Trait for generating sky/weather maps with different weather patterns. Uses Gaussian distribution bands to create realistic weather patterns that vary based on distance from a weather center and intensity parameter.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MapGenerator
object Timer

Companion object for Timer providing factory methods.

Companion object for Timer providing factory methods.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Timer.type
final class Timer

A timer that tracks elapsed time in seconds and provides formatting capabilities. This is an immutable class - all operations return new Timer instances.

A timer that tracks elapsed time in seconds and provides formatting capabilities. This is an immutable class - all operations return new Timer instances.

Value parameters

totalSeconds

the total number of seconds that have elapsed

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any