market
Class Buyer

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

public class Buyer
extends Participant

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

Author:
tratch

Constructor Summary
Buyer(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

Buyer

public Buyer(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