code: @Override
      public void apply(MapTile map)
      {
          final double tw = map.getTileWidth();
          final double th = map.getTileHeight();
  
          for (int tx = 0; tx < map.getInTileWidth(); tx++)
          {
              final double x = tx * tw;
              for (int ty = 0; ty < map.getInTileHeight(); ty++)
              {
                  final double y = ty * th;
                  final Tile tile = map.createTile(sheet, number, x, y);
                  map.setTile(tile);
              }
          }
      }
docs: /*
  Preference