System class abstract
Logic that operates on a World every tick. Systems are stateless about which entities they touch — they query the world each call.
- Implementers
Constructors
- System()
-
const
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
-
dispose(
World world) → void - Called when the system is removed or the world is disposed.
-
init(
World world) → void - Called once when the system is registered with a world.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
World world, Duration dt) → void -
Called from World.update (or once from the startup phase).
dtis the delta supplied toupdate.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited