floodsim.model.logic.service.WeatherEffectService
See theWeatherEffectService companion object
Service that applies weather-driven effects to a grid of cells. Implementations must be pure and return a new grid reflecting the applied effects.
Attributes
-
Companion
-
object
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
Members list
Applies weather effects to each cell using the corresponding weather at the same coordinate.
Applies weather effects to each cell using the corresponding weather at the same coordinate.
Value parameters
-
cellGrid
-
grid of cells to update
-
weatherGrid
-
grid of weather data aligned by coordinate with cellGrid
Attributes
-
Returns
-
a new grid with updated cells after applying weather effects