* sound for each action.
*
* @param action the Action
*/
public void onExecuted(Action action) {
ActionEvent event = action.getEvent();
deck.repaint();
for ( GraphicsZone gZone : deck.getGraphicsZoneList() )
gZone.setSelected(false);
for ( Zone zone : action.getGame().getPlayers().getSortedList().get(0).getZones() )
deck.getGZone(zone).setSelected(true);
// quand on joue une carte
if (action instanceof ActionPlayACard) {
if (!event.getPlayer().equals(player))
if (event.getCards() != null)
for (Card card : event.getCards()) {
SoundManager.playSound(new WaveSound("wav/cards/"
+ card.getCardName() + ".wav", false));
if (card.getCardName().equals("Joker")
|| card.getCardName().equals("+4"))
sayAskedColor();