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:
550 bytes
|
Line | |
---|
1 | package genius.core.actions;
|
---|
2 |
|
---|
3 | import genius.core.AgentID;
|
---|
4 |
|
---|
5 | /**
|
---|
6 | * Class which symbolizes the action to leave a negotiation. Immutable.
|
---|
7 | *
|
---|
8 | * @author Dmytro Tykhonov
|
---|
9 | */
|
---|
10 | public class EndNegotiation extends DefaultAction {
|
---|
11 |
|
---|
12 | /**
|
---|
13 | * Action to end the negotiation.
|
---|
14 | *
|
---|
15 | * @param agentID
|
---|
16 | * of the opponent
|
---|
17 | */
|
---|
18 | public EndNegotiation(AgentID agentID) {
|
---|
19 | super(agentID);
|
---|
20 | }
|
---|
21 |
|
---|
22 | /**
|
---|
23 | * @return string representation of action: "(EndNegotiation)".
|
---|
24 | */
|
---|
25 | public String toString() {
|
---|
26 | return "(EndNegotiation)";
|
---|
27 | }
|
---|
28 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.