View Javadoc

1   package cz.cuni.amis.pogamut.base.agent.module.comm;
2   
3   import cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent;
4   import cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEvent;
5   
6   public class CommEvent implements IWorldChangeEvent, IWorldEvent {
7   
8   	private long simTime;
9   
10  	public CommEvent() {
11  		this.simTime = 0;
12  	}
13  	
14  	public CommEvent(long simTime) {
15  		this.simTime = simTime;
16  	}
17  	
18  	@Override
19  	public long getSimTime() {
20  		return simTime;
21  	}
22  
23  }