Beispiel #1
0
        public ServiceBase GetInstance(ulong serviceId, Enviroment.Map map, Enviroment.WayPoint location, Dictionary <string, object> settings)
        {
            BusStop service = new BusStop(serviceId, map, location);

            service.Initialize(settings);
            return(service);
        }
Beispiel #2
0
 public BusStop(ulong id, Enviroment.Map map, Enviroment.WayPoint location)
 {
     base.Id          = id;
     base.Dislocation = location;
     _map             = map;
     _servicePoint    = new Point(location.X, location.Y);
 }