World.prototype.set = function(){
    map.forEach( (line,y) => {
      line.split("").forEach( (char,x) => {
           this.grid.set(new Vector(x,y),nbFromChar(legend,char));
      });
    });
};