Last change
on this file since 272 was 272, checked in by Tim Baarslag, 5 years ago |
Bundle immutable. Made aggregation work.
|
File size:
359 bytes
|
Line | |
---|
1 | package onetomany.bargainingchipsgame.interactions;
|
---|
2 |
|
---|
3 | import onetomany.bargainingchipsgame.BundleBuilder;
|
---|
4 |
|
---|
5 | /**
|
---|
6 | * Just a sample example of an offer
|
---|
7 | */
|
---|
8 | public class SampleOffer extends Offer
|
---|
9 | {
|
---|
10 | public SampleOffer(int qty)
|
---|
11 | {
|
---|
12 | this.type = MessageType.BID;
|
---|
13 | this.bundle = new BundleBuilder()
|
---|
14 | .addStack("Red", 7.0, qty)
|
---|
15 | .build();
|
---|
16 | }
|
---|
17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.