GameTimeController constructor

GameTimeController({
  1. GameSessionController? session,
  2. Duration? maxDeltaPerTick,
  3. Duration? fixedStep,
})

Implementation

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