summaryrefslogtreecommitdiff
path: root/server/lib/core/commands/amd_imbue1_command.dart
blob: d678979bcaefc581a18c4b7615af56621261ca43 (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() {
    final ModifierDeck deck = _gameState.modifierDeck;
    deck.setImbue1(stateAccess);
  }

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