Example #1
0
 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;
 }
Example #2
0
 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;
 }
Example #3
0
 public WeightedLocation(FloorPlanLocation loc, double weight)
 {
     location = loc;
     Weight = weight;
 }
Example #4
0
 public static Beacon Generate(FloorPlanLocation location)
 {
     var beacon = Generate();
     beacon.Location = location;
     return beacon;
 }
Example #5
0
 public static PointOfInterest Generate(FloorPlanLocation loc)
 {
     var poi = Generate();
     poi.Location = loc;
     return poi;
 }