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 SetLootOwnerCommand extends Command { final String ownerId; final LootCard card; SetLootOwnerCommand(this.ownerId, this.card); @override void execute() { card.owner = ownerId; } @override String describe() { return commandL10n.cmdSetLootOwner; } }