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); }
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); }