public static ICollection<Beacon> GenerateMany(int count, FloorPlanLocation location) { var list = new List<Beacon>(); for (var i = 0; i < count; i++) { list.Add(Generate(location)); } return list; }
public static ICollection<PointOfInterest> GenerateMany(int count, FloorPlanLocation loc) { var list = new List<PointOfInterest>(); for (var i = 0; i < count; i++) { list.Add(Generate(loc)); } return list; }
public WeightedLocation(FloorPlanLocation loc, double weight) { location = loc; Weight = weight; }
public static Beacon Generate(FloorPlanLocation location) { var beacon = Generate(); beacon.Location = location; return beacon; }
public static PointOfInterest Generate(FloorPlanLocation loc) { var poi = Generate(); poi.Location = loc; return poi; }