@Override public void onUnequipped(EquipmentType type) { deck.discard(player.getEquipment(type)); room.sendCommandToPlayers( SyncCommandsUtil.generateMapForSameCommand( name, otherNames, new SyncUnequipGameUIClientCommand(name, type))); room.sendCommandToPlayers( SyncCommandsUtil.generateMapForSameCommand( name, otherNames, new SyncDisposalAreaRefreshGameUIClientCommand())); }
@Override public void onEquipped(Equipment equipment) { room.sendCommandToPlayers( SyncCommandsUtil.generateMapForSameCommand( name, otherNames, new SyncEquipGameUIClientCommand(name, equipment))); }