import 'package:flutter/foundation.dart';

class BattleLogManager {
  final List<String> _logs = [];

  List<String> get logs => List.unmodifiable(_logs);

  void addLog(String message) {
    _logs.add(message);
    debugPrint("[BattleLog] $message"); // Optional: Console logging for debug
  }

  void clear() {
    _logs.clear();
  }
}
