LCOV - code coverage report
Current view: top level - maps/random/rmgen/placer/noncentered - MapBoundsPlacer.js (source / functions) Hit Total Coverage
Test: lcov.info Lines: 1 4 25.0 %
Date: 2023-04-02 12:52:40 Functions: 0 2 0.0 %

          Line data    Source code
       1             : /**
       2             :  * The MapBoundsPlacer returns all points on the tilemap that meet the constraint.
       3             :  */
       4             : function MapBoundsPlacer(failFraction = Infinity)
       5             : {
       6           0 :         let mapBounds = g_Map.getBounds();
       7           0 :         this.rectPlacer = new RectPlacer(new Vector2D(mapBounds.left, mapBounds.top), new Vector2D(mapBounds.right, mapBounds.bottom), failFraction);
       8             : }
       9             : 
      10           6 : MapBoundsPlacer.prototype.place = function(constraint)
      11             : {
      12           0 :         return this.rectPlacer.place(constraint);
      13             : };

Generated by: LCOV version 1.14