AdHocVisitor<T> mixin

Ad Hoc Visitor enables you to override only what you need when implementing PlayerEventVisitor. Returns null by default for every override.

Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onPlayerEvent(DirectPlayerEvent event) → T?
override
onPlayerStateChanged(PlayerStateChangeEvent event) → T?
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited