floodsim.model.logic
Members list
Packages
Type members
Classlikes
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 Objecttrait Matchableclass Any
- Known subtypes
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
- 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
-
trait SkyMapGeneratortrait GroundMapGeneratortrait BaseMapGeneratorclass Objecttrait Matchableclass AnyShow all
- Self type
-
MapGenerator.type
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
- Known subtypes
-
object MapGenerator
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 Objecttrait Matchableclass Any