Delay

interface Delay<out T> : Container<T>

Inheritors

Properties

Link copied to clipboard
abstract val occupants: Int

The number of occupants held by the container

Functions

Link copied to clipboard
abstract fun onEnter(callback: context(Simulator) (T) -> Unit)

Callback to execute when an entity enters the container

Link copied to clipboard
abstract fun onLeave(callback: context(Simulator) (T) -> Unit)

Callback to execute when an entity leaves the container

Link copied to clipboard