market
Class Seller

java.lang.Object
  extended by market.Participant
      extended by market.Seller

public class Seller
extends Participant

A seller object is like a badge signaling to "world", and to the player, that this player is a seller.

Author:
tratch

Constructor Summary
Seller(Player p)
           
 
Method Summary
 Decision makeDecision(Market theMarket)
           
 
Methods inherited from class market.Participant
getParticipantName, getPlayer, setParticipantName, setPlayer, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Seller

public Seller(Player p)
Parameters:
p -
Method Detail

makeDecision

public Decision makeDecision(Market theMarket)
Specified by:
makeDecision in class Participant
Returns:
A decision given the market pMarket