UpdatablePanel

UpdatablePanel represent a panel that can be updated during the simulation. All the operations are represented as lazy monix Tasks, in order to express in a better way the computation.

trait BasePanel
class Object
trait Matchable
class Any

Value members

Abstract methods

def update(newEnv: Environment): Task[Unit]

Called to update the panel with the new Environment.

Called to update the panel with the new Environment.

Value parameters:
newEnv

the new environment

Returns:

the task

Inherited methods

def init(): Task[Unit]

Init the panel.

Init the panel.

Returns:

the task

Inherited from:
BasePanel
def stop(): Task[Unit]

It's called when the simulation is stopped, useful for closing operations.

It's called when the simulation is stopped, useful for closing operations.

Returns:

the task

Inherited from:
BasePanel