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:
435 bytes
|
Line | |
---|
1 | package genius.core.actions;
|
---|
2 |
|
---|
3 | import javax.xml.bind.annotation.XmlRootElement;
|
---|
4 |
|
---|
5 | import genius.core.Agent;
|
---|
6 | import genius.core.AgentID;
|
---|
7 |
|
---|
8 | /**
|
---|
9 | * immutable.
|
---|
10 | *
|
---|
11 | */
|
---|
12 | @XmlRootElement
|
---|
13 | public class NoAction extends DefaultAction {
|
---|
14 |
|
---|
15 | public NoAction(AgentID agent) {
|
---|
16 | super(agent);
|
---|
17 | }
|
---|
18 |
|
---|
19 | public NoAction(Agent agent) {
|
---|
20 | this(agent.getAgentID());
|
---|
21 | }
|
---|
22 |
|
---|
23 | public String toString() {
|
---|
24 | return "(No additional action)";
|
---|
25 | }
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.