update

abstract fun update(    currentTime: Time,     executed: Boolean,     param: Double,     environment: Environment<T, out Any>)

Updates the internal status.

Parameters

currentTime

current time

executed

true if the reaction has just been executed

param

a parameter passed by the reaction

environment

the current environment