blob: 4d9c2460443b00c0bdeb5614c5aa307ec7486600 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import '../game_methods.dart';
import '../state/game_state.dart';
import 'command_l10n.dart';
class RemoveCSSanctuaryDonationCommand extends Command {
final String characterId;
final GameState _gameState;
RemoveCSSanctuaryDonationCommand(
this.characterId, {
required GameState gameState,
}) : _gameState = gameState;
@override
void execute() {
final ModifierDeck deck = GameMethods.getModifierDeck(characterId, _gameState);
deck.removeCSSanctuary(stateAccess);
}
@override
String describe() {
return commandL10n.cmdRemoveSanctuaryDonation(characterId);
}
}
|