[o7] version 1.0
This commit is contained in:
@@ -6,16 +6,7 @@ import scim.lib._
|
|||||||
import scim.lib.simInterfaces.SimulationBehaviour
|
import scim.lib.simInterfaces.SimulationBehaviour
|
||||||
//package scim.components._
|
//package scim.components._
|
||||||
object Main {
|
object Main {
|
||||||
|
// o7
|
||||||
val func: (Cell, Time, Option[Double], Option[FunctionArgs]) => Option[Double] = (cell, time, truth, args) => { truth }
|
|
||||||
val behaviours: Map[String, SimulationBehaviour] = Map[String, SimulationBehaviour](
|
|
||||||
"factor" -> func,
|
|
||||||
"None" -> func, "addValuePercent" -> func,
|
|
||||||
"humidFromTemp" -> func,
|
|
||||||
"normalValue" -> func,
|
|
||||||
"randomValue" -> func)
|
|
||||||
val simBehavirous = SimulationBehaviours(behaviours)
|
|
||||||
|
|
||||||
def main(args: Array[String]): Unit = {
|
def main(args: Array[String]): Unit = {
|
||||||
startSimulation()
|
startSimulation()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user