GameListener class abstract interface

Names the set of framework types that can receive events.

A pure marker - no members of its own. What it carries is membership, and that is the load-bearing part: the classes implementing it are exactly the ones the engine walks when it collects listeners at boot, so "who could possibly receive this event" has a closed, written-down answer - GameState, SceneStruct, EntityStruct, GameSystem.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
listensToEvents bool
Whether this listener should receive events right now.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disableAfterUncaught() → void
Stops this listener receiving events, after it threw out of one.
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