SyncSystem class abstract

A synchronous system that doesn't need async operations.

Extend this class for simple systems that don't perform I/O.

Implemented types

Constructors

SyncSystem()

Properties

hashCode int
The hash code for this object.
no setterinherited
meta SystemMeta
Metadata describing this system's data access patterns.
no setterinherited
runCondition RunCondition?
Optional condition that determines whether this system should run.
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
run(World world) Future<void>
Runs the system logic.
override
runSync(World world) → void
Runs the system logic synchronously.
shouldRun(World world) bool
Returns true if this system should run, based on its runCondition.
inherited
toString() String
A string representation of this object.
inherited

Operators

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