source:
src/main/java/bargainingchips/actions/Bid.java@
328
Last change on this file since 328 was 319, checked in by , 5 years ago | |
---|---|
File size: 330 bytes |
Line | |
---|---|
1 | package bargainingchips.actions; |
2 | |
3 | import bargainingchips.Bundle; |
4 | |
5 | public class Bid extends Offer |
6 | { |
7 | /** |
8 | * Creates a bid. Bundle is immutable and therefore so is Offer. |
9 | */ |
10 | public Bid(Bundle b) |
11 | { |
12 | super(b, OfferType.BID); |
13 | } |
14 | |
15 | @Override |
16 | public String toString() |
17 | { |
18 | return "Bid: " + getBundle(); |
19 | } |
20 | } |
Note:
See TracBrowser
for help on using the repository browser.