View Javadoc

1   /*
2    * To change this template, choose Tools | Templates
3    * and open the template in the editor.
4    */
5   
6   package cz.cuni.amis.pogamut.ut2004.communication.messages;
7   
8   import cz.cuni.amis.pogamut.base.communication.messages.InfoMessage;
9   import cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEvent;
10  import cz.cuni.amis.pogamut.ut2004.communication.worldview.objects.IGBWorldEvent;
11  
12  /**
13   *
14   * @author ik
15   */
16  public class GBEvent extends InfoMessage implements IGBWorldEvent {
17  
18  	protected long simTime;
19  	
20  	public GBEvent(long simTime)
21  	{
22  		this.simTime = simTime;
23  	}
24  	
25      public IWorldEvent getWorldEvent() {
26          return this;
27      }
28  
29  	@Override
30  	public long getSimTime() {
31  		return this.simTime;
32  	}
33  
34  }