source: src/main/java/onetomany/bargainingchipsgame/players/NegotiationStatusMessage.java@ 307

Last change on this file since 307 was 303, checked in by Tim Baarslag, 5 years ago

NegotiationStatusMessage

File size: 611 bytes
Line 
1package onetomany.bargainingchipsgame.players;
2
3import onetomany.bargainingchipsgame.Bundle;
4
5/**
6 * A message from the buying agents to the Coordinator
7 * Should be immutable
8 */
9public class NegotiationStatusMessage
10{
11 private final NegotiationStatusMessageType type;
12 private final Bundle agreement;
13
14 public NegotiationStatusMessage(Bundle agreement, NegotiationStatusMessageType type)
15 {
16 this.agreement = agreement;
17 this.type = type;
18 }
19
20 public Bundle getAgreement()
21 {
22 return agreement;
23 }
24
25 public NegotiationStatusMessageType getType()
26 {
27 return type;
28 }
29
30}
Note: See TracBrowser for help on using the repository browser.