soc.robot
Class SOCPossibleCard

java.lang.Object
  extended by soc.robot.SOCPossiblePiece
      extended by soc.robot.SOCPossibleCard

public class SOCPossibleCard
extends SOCPossiblePiece

This is a possible card that we can buy

Author:
Robert S Thomas

Field Summary
 
Fields inherited from class soc.robot.SOCPossiblePiece
biggestThreats, CARD, CITY, coord, eta, hasBeenExpanded, MAXPLUSONE, MIN, PICK_SPECIAL, pieceType, player, ROAD, score, SETTLEMENT, SHIP, threats, threatUpdatedFlag, updated
 
Constructor Summary
SOCPossibleCard(SOCPlayer pl, int et)
          constructor
SOCPossibleCard(SOCPossibleCard pc)
          copy constructor
 
Method Summary
 
Methods inherited from class soc.robot.SOCPossiblePiece
addBiggestThreat, addThreat, addToScore, clearBiggestThreats, clearThreats, clearUpdateFlag, getBiggestThreats, getCoordinates, getETA, getPlayer, getResourcesToBuild, getScore, getThreats, getType, hasBeenExpanded, isETAUpdated, isThreatUpdated, resetExpandedFlag, resetScore, setETA, setExpandedFlag, subtractFromScore, threatUpdated, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SOCPossibleCard

public SOCPossibleCard(SOCPlayer pl,
                       int et)
constructor

Parameters:
pl - the owner
et - the eta

SOCPossibleCard

public SOCPossibleCard(SOCPossibleCard pc)
copy constructor

Parameters:
pc - the possible card to copy