Class MessageNegotiate
java.lang.Object
|
+--Message
|
+--MessageNegotiate
- public class MessageNegotiate
- extends Message
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PRICE_QUERY
public static final int PRICE_QUERY
PRICE_ANSWER
public static final int PRICE_ANSWER
BUY_OBJECT
public static final int BUY_OBJECT
INFO_NEXT_DAY
public static final int INFO_NEXT_DAY
MessageNegotiate
public MessageNegotiate(Agent anAgentFrom,
int aFunction,
java.lang.String aMessage)
MessageNegotiate
public MessageNegotiate(Agent anAgentFrom,
Base aBaseTo)
MessageNegotiate
public MessageNegotiate(Agent anAgentFrom,
Agent anAgentTo,
double[] aPrice)
MessageNegotiate
public MessageNegotiate(Agent anAgentFrom,
Agent anAgentTo,
int anIndex)
getFunction
public int getFunction()
getIndex
public int getIndex()
getPrices
public double[] getPrices()