update
fun update(currentTime: Time, hasBeenExecuted: Boolean, additionalParameter: Double, environment: Environment<T, out Any>)
Updates the internal status.
Parameters
current Time
current time
executed
true if the reaction has just been executed
param
a parameter passed by the reaction
environment
the current environment