Last change
on this file was 1, checked in by Wouter Pasman, 6 years ago |
Initial import : Genius 9.0.0
|
File size:
328 bytes
|
Line | |
---|
1 | package agents.nastyagent;
|
---|
2 |
|
---|
3 | import genius.core.AgentID;
|
---|
4 | import genius.core.actions.Action;
|
---|
5 |
|
---|
6 | public class SleepInReceiveMessage extends NastyAgent {
|
---|
7 |
|
---|
8 | @Override
|
---|
9 | public void receiveMessage(AgentID sender, Action arguments) {
|
---|
10 | try {
|
---|
11 | Thread.sleep(2000000);
|
---|
12 | } catch (InterruptedException e) {
|
---|
13 | e.printStackTrace();
|
---|
14 | }
|
---|
15 | }
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.