WorldRuntime constructor
WorldRuntime(
- WorldManifest manifest, {
- WorldBinding binding = WorldBinding.world,
- int? seedOverride,
Create the runtime for manifest under binding.
seedOverride re-seeds the run (deterministic replay: the run
receipt records the seed; replay re-executes with it).
Implementation
WorldRuntime(
this.manifest, {
this.binding = WorldBinding.world,
int? seedOverride,
}) : clock = VirtualClock(seedOverride ?? manifest.seed),
_latency = LatencyModel(seed: (seedOverride ?? manifest.seed)),
_authAdapter = _authAdapterFor(manifest);