summaryrefslogtreecommitdiff
path: root/server/lib/core/commands/amd_imbue1_command.dart
blob: 3cf52bc6eeb0b645b6b7926075a08ddbb28d32ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import '../state/game_state.dart';
import 'command_l10n.dart';

class AMDImbue1Command extends Command {
  final GameState _gameState;

  AMDImbue1Command({required GameState gameState}) : _gameState = gameState;

  @override
  void execute() {
    ModifierDeck deck = _gameState.modifierDeck;
    deck.setImbue1(stateAccess);
  }

  @override
  String describe() {
    return commandL10n.cmdImbueMonsterDeck;
  }
}