CustomTrigger class
Class to allow creation of customer trigger for any object eg models, sprites, actors - eg a trigger when actor is attacked
- Mixed-in types
Constructors
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
-
addEventListener(
String type, Function listener) → void -
inherited
-
clearListeners(
) → void -
inherited
-
dispatchEvent(
Event event) → void -
inherited
-
hasEventListener(
String type, Function? listener) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEventListener(
String type, Function listener) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
trigger(
dynamic name, dynamic val) → dynamic
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited