LCOV - code coverage report
Current view: top level - maps/random/rmgen/painter - TileClassUnPainter.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             :  * Removes the given tileclass from a given area.
       3             :  */
       4             : function TileClassUnPainter(tileClass)
       5             : {
       6           0 :         this.tileClass = tileClass;
       7             : }
       8             : 
       9           6 : TileClassUnPainter.prototype.paint = function(area)
      10             : {
      11           0 :         for (let point of area.getPoints())
      12           0 :                 this.tileClass.remove(point);
      13             : };

Generated by: LCOV version 1.14