SimSpawned class final

What a SimCommands.spawn hands its builder: the entity just spawned and the world it is in.

One object, so a minor can hand a builder more — the step it was spawned at, the system that asked — without breaking a builder written against 1.0.

Constructors

SimSpawned(SimWorld world, Entity entity)
What a deferred spawn hands its builder: the new entity and the world it is in. Made by the world.
const

Properties

entity → Entity
The entity, alive and with no components yet.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
world → SimWorld
The world the entity was spawned in.
final

Methods

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