de.limdul.cassiopeia.gui.client.control
Class PlayCardOwn

java.lang.Object
  extended by de.limdul.cassiopeia.gui.client.control.GuiModus
      extended by de.limdul.cassiopeia.gui.client.control.PlayCardOwn
All Implemented Interfaces:
CassiopeiaListener, GuiCommandListener

public class PlayCardOwn
extends GuiModus

Guimodus, der angibt, dass man eine Karte legen darf.

Version:
$Revision: 69 $
Author:
Martin Köhler

Constructor Summary
PlayCardOwn(Card playCard, EventHandler handler, boolean helpMode, GuiPlayCard command)
          Erzeugt den Modus.
 
Method Summary
 void parseGuiCommand(GuiCommand command)
          Verarbeitet ein GuiCommand.
 
Methods inherited from class de.limdul.cassiopeia.gui.client.control.GuiModus
distributeCommand, getEventHandler, isHelpMode, setEventHandler, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayCardOwn

public PlayCardOwn(Card playCard,
                   EventHandler handler,
                   boolean helpMode,
                   GuiPlayCard command)
Erzeugt den Modus.

Parameters:
playCard - Die Karte, die gespielt werden soll.
handler - Der Ereignisshandler
helpMode - Ob der Hilfemodus aktiv ist.
command - Der Befehl, der den Modus erzeugt hat.
Method Detail

parseGuiCommand

public void parseGuiCommand(GuiCommand command)
Description copied from interface: GuiCommandListener
Verarbeitet ein GuiCommand.

Specified by:
parseGuiCommand in interface GuiCommandListener
Overrides:
parseGuiCommand in class GuiModus
Parameters:
command - Das GuiCommand
See Also:
GuiCommandListener.parseGuiCommand(de.limdul.cassiopeia.control.guicommands.GuiCommand)