SignalDispatcher<L extends GameListener> class
final
An EventDispatcher for an event that carries nothing.
The fixed tick is the case: it happens, and that is the whole message.
Separate from EventDispatcher rather than EventDispatcher<L, void>,
which would force every dispatch site to write call(null). Same split,
and the same names, as SignalCommand beside SinkCommand<P>.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- listenerCount → int
-
How many listeners were collected. Diagnostics and tests - the point of
the design is that this number is settled before the first dispatch.
no setterinherited
- reverse → bool
-
See EventDispatcher.reverse.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
) → void - Delivers to every collected listener that is currently listening.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited