import '../enums.dart';

/// Represents the result of applying status effects at the start of a turn.
class TurnEffectResult {
  final bool canAct;
  final bool effectTriggered;

  TurnEffectResult({required this.canAct, required this.effectTriggered});
}

/// Represents the planned action of an enemy for the current turn.
class EnemyIntent {
  final EnemyActionType type;
  final int value;
  final RiskLevel risk;
  final String description;
  final bool isSuccess;
  final int finalValue;
  bool isApplied; // Mutable flag to prevent double execution

  EnemyIntent({
    required this.type,
    required this.value,
    required this.risk,
    required this.description,
    required this.isSuccess,
    required this.finalValue,
    this.isApplied = false,
  });
}
