source: src/main/java/bargainingchips/actions/Bid.java@ 324

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

validate gives a ValidationResult

File size: 330 bytes
Line 
1package bargainingchips.actions;
2
3import bargainingchips.Bundle;
4
5public 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.