/// Web stub for renderer-settings persistence: silently skips all I/O.
library;

import 'package:wolf_3d_dart/src/engine/rendering/renderer_settings.dart';
import 'package:wolf_3d_dart/src/engine/rendering/renderer_settings_persistence.dart';

/// No-op implementation used on web, where dart:io is unavailable.
class DefaultRendererSettingsPersistence extends RendererSettingsPersistence {
  // ignore: avoid_unused_constructor_parameters
  DefaultRendererSettingsPersistence({String? filePath});

  @override
  Future<WolfRendererSettings?> load() async => null;

  @override
  Future<void> save(WolfRendererSettings settings) async {}
}
