jskat.player.AIPlayerMJL
Class RamschSkatProcessor

java.lang.Object
  extended by jskat.player.AIPlayerMJL.RamschSkatProcessor

public class RamschSkatProcessor
extends java.lang.Object

Author:
Markus J. Luzius

Constructor Summary
RamschSkatProcessor()
           
 
Method Summary
 boolean lookAtSkat(CardVector cards)
          Decides, whether the AI player should look at the skat or rather play hand
 void processSkat(CardVector cards, CardVector skat)
          Processes the skat for a Ramsch game
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RamschSkatProcessor

public RamschSkatProcessor()
Method Detail

processSkat

public void processSkat(CardVector cards,
                        CardVector skat)
Processes the skat for a Ramsch game

Parameters:
cards - the player's hand
skat - the skat

lookAtSkat

public boolean lookAtSkat(CardVector cards)
Decides, whether the AI player should look at the skat or rather play hand

Parameters:
cards - the player's hand
Returns:
true, if the player should look at the skat