public abstract class DefaultActionWithBid extends DefaultAction implements ActionWithBid
| Modifier and Type | Field and Description |
|---|---|
protected Bid |
bid
The involved bid.
|
agentID| Constructor and Description |
|---|
DefaultActionWithBid(AgentID agentID,
Bid bid)
Creates an action symbolizing an offer for the opponent.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Bid |
getBid()
Returns the bid offered by the agent which created this offer.
|
java.lang.String |
getContent() |
int |
hashCode() |
getAgent, getBidFromAction, toStringprotected Bid bid
public Bid getBid()
getBid in interface ActionWithBidpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - object to which this object is compared.public java.lang.String getContent()