text: function World() {
      this.img = new Image();
      this.img.src = "kafelki.png";
  
  
      this.grid = 
  [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [11,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,15],
  [11,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,15],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,4],
  [5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5]];
  
  	this.draw = function(ctx) {
          let tileSize = 32;
          let imageNumTiles = 4;
  
          for (let i = 0; i < this.grid.length; i++) {
              for (let j = 0; j < this.grid[i].length; j++) {
                  let tile = this.grid[i][j];
                  let tileRow = (tile / imageNumTiles) | 0;
                  let tileCol = (tile % imageNumTiles) | 0;
                  ctx.drawImage(this.img, (tileCol * tileSize), (tileRow * tileSize), tileSize, tileSize, (j * tileSize), (i * tileSize), tileSize, tileSize);
              }
          }
  	}
  }