source: src/test/java/agents/nastyagent/SleepInReceiveMessage.java@ 126

Last change on this file since 126 was 1, checked in by Wouter Pasman, 6 years ago

Initial import : Genius 9.0.0

File size: 328 bytes
Line 
1package agents.nastyagent;
2
3import genius.core.AgentID;
4import genius.core.actions.Action;
5
6public 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.