applyDelta
applyDelta(
world,delta,__namedParameters?):void
Defined in: packages/engine/src/gameplay/replication/apply.ts:118
Applies what changed in the source’s world: spawns the entities it has not seen, writes their changed traits and destroys the removed ones. An entity the world spawned itself is left alone.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
delta |
Delta |
__namedParameters |
ApplyOptions |
Returns
Section titled “Returns”void