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

class CorrosiveSpewCommand extends Command {
  final GameState _gameState;

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

  @override
  void execute() {
    GameMethods.getModifierDeck(
      "Ruinmaw",
      _gameState,
    ).setCorrosiveSpew(stateAccess);
  }

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