source: src/main/java/genius/core/actions/Offer.java

Last change on this file was 127, checked in by Wouter Pasman, 6 years ago

#41 ROLL BACK of rev.126 . So this version is equal to rev. 125

File size: 472 bytes
Line 
1package genius.core.actions;
2
3import genius.core.AgentID;
4import genius.core.Bid;
5
6/**
7 * Symbolizes an offer of an agent for the opponent. Immutable.
8 *
9 * @author Tim Baarslag and Dmytro Tykhonov
10 */
11public class Offer extends DefaultActionWithBid {
12
13 public Offer(AgentID agentID, Bid bid) {
14 super(agentID, bid);
15 }
16
17 /**
18 * @return string representation of action
19 */
20 public String toString() {
21 return "(Offer " + getContent() + ")";
22 }
23}
Note: See TracBrowser for help on using the repository browser.