GameConfig constructor

GameConfig({
  1. required int width,
  2. required int height,
  3. required double speed,
  4. required bool isPaused,
  5. required Direction direction,
  6. required bool isAutoSpeedGameMode,
})

Implementation

GameConfig({
  required this.width,
  required this.height,
  required this.speed,
  required this.isPaused,
  required this.direction,
  required this.isAutoSpeedGameMode,
});