public class ActionCreator
extends java.lang.Object
Constructor and Description |
---|
ActionCreator() |
Modifier and Type | Method and Description |
---|---|
static Action |
createAccept(Agent agent)
Create an accept message.
|
static Action |
createEndNegotiation(Agent agent)
Create an endnegotiation message.
|
static Action |
createOffer(Agent agent,
Bid bid)
Create an offer message.
|
public static Action createOffer(Agent agent, Bid bid)
agent
- Agent creating the offer message.bid
- The bid made in the offer.public static Action createAccept(Agent agent)
agent
- Agent creating the accept message.