GameTimeController constructor
GameTimeController({
- GameSessionController? session,
- Duration? maxDeltaPerTick,
- Duration? fixedStep,
Implementation
GameTimeController({
this.session,
Duration? maxDeltaPerTick,
Duration? fixedStep,
}) : _clock = GameClock(
maxDeltaPerTick: maxDeltaPerTick ?? const Duration(milliseconds: 250),
fixedStep: fixedStep,
);