EventActionIfc

fun interface EventActionIfc<T>

An interface used to implement the actions associated with event logic within the simulation.

Implementor's of this interface should define a class that has concrete specification for the type T. If the event message is not used, then specify the type as Nothing.

Parameters

the type associated with the KSLEvent's message property

Functions

Link copied to clipboard
abstract fun action(event: KSLEvent<T>)

This must be implemented by any objects that want to supply event logic. This is essentially the "event routine".