startRun method
Starts a fresh run for the current period: a SeededRandomService
seeded from currentSeed for the caller's own gameplay namespaces
(e.g. rng.stream('gameplay')), optionally paired with recorder
(if given, ReplayRecorder.started with the same seed) so the run
can later be packaged into a ReplayCapsule via endRun.
Implementation
SeededRandomService startRun({ReplayRecorder? recorder}) {
recorder?.start(seed: currentSeed);
return SeededRandomService(currentSeed);
}