package onetomany.bargainingchipsgame.players; import onetomany.bargainingchipsgame.Bundle; /** * A message from the buying agents to the Coordinator * Should be immutable */ public class NegotiationStatusMessage { private final NegotiationStatusMessageType type; private final Bundle agreement; public NegotiationStatusMessage(Bundle agreement, NegotiationStatusMessageType type) { this.agreement = agreement; this.type = type; } public Bundle getAgreement() { return agreement; } public NegotiationStatusMessageType getType() { return type; } }