case TileEvent.DRAW:
client.clearActions();
refreshWindowTitle();
break;
case TileEvent.DISCARD:
DiscardedTilesDialog discardedTilesDialog = client.getDiscardedTilesDialog();
if (discardedTilesDialog == null) {
discardedTilesDialog = new DiscardedTilesDialog(client);
client.setDiscardedTilesDialog(discardedTilesDialog);
client.getJMenuBar().setShowDiscardedEnabled(true);
}
discardedTilesDialog.addTile(ev.getTile());
discardedTilesDialog.setVisible(true);
break;
case TileEvent.PLACEMENT:
case TileEvent.REMOVE:
gamePanel.getMainPanel().tileEvent(ev);
break;