View Javadoc

1   package cz.cuni.amis.pogamut.udk.communication.translator.shared.events;
2   
3   import java.util.List;
4   
5   import cz.cuni.amis.pogamut.base.communication.translator.event.WorldEventIdentityWrapper;
6   import cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages.Vehicle;
7   
8   public class VehicleListObtained extends WorldEventIdentityWrapper {
9   	private List<Vehicle> vehicles;
10  
11  	public VehicleListObtained(List<Vehicle> list) {
12  		this.vehicles = list;
13  	}
14  
15  	public List<Vehicle> getVehicles() {
16  		return vehicles;
17  	}
18  	
19  	public long getSimTime() {
20      	return 0;
21      }
22  	
23  	@Override
24  	public String toString() {
25  		return "Vehicle[vehicles.size() = " + vehicles.size() + "]";
26  	}
27  }