onEnter

abstract fun onEnter(callback: context(Simulator) (T) -> Unit)

Callback to execute when an entity enters the container