AbstractEventDispatcher

abstract class AbstractEventDispatcher<T : TriggerAction, E : Event> : EventDispatcher<T, E>

A generic event dispatcher that implements action management.

Constructors

Link copied to clipboard
fun AbstractEventDispatcher()

Functions

Link copied to clipboard
open operator override fun set(trigger: T, job: (E) -> Unit)

Adds a job to be performed whenever an event triggers the dispatcher through the listener.

Properties

Link copied to clipboard
abstract val listener: ActionListener<T, E>

The listener bound to this dispatcher.

Inheritors

Link copied to clipboard