tilePackFactory.setExpansions(game.getExpansions());
tilePackFactory.setSnapshot(snapshot);
DefaultTilePack tilePack = tilePackFactory.createTilePack();
game.setTilePack(tilePack);
for (String tileId : snapshot.getDiscardedTiles()) {
Tile tile = tilePack.drawTile(tileId);
game.getBoard().discardTile(tile);
}
}
@Override