package simulator.model; import java.util.List; public interface TrafficSimObserver { void onAdvanceStart(RoadMap map, List events, int time); void onAdvanceEnd(RoadMap map, List events, int time); void onEventAdded(RoadMap map, List events, Event e, int time); void onReset(RoadMap map, List events, int time); void onRegister(RoadMap map, List events, int time); void onError(String err); }