/** * @class Base map generator * @param {int} [width=ROT.DEFAULT_WIDTH] * @param {int} [height=ROT.DEFAULT_HEIGHT] */ ROT.Map = function(width, height) { this._width = width || ROT.DEFAULT_WIDTH; this._height = height || ROT.DEFAULT_HEIGHT; }; ROT.Map.prototype.create = function(callback) {} ROT.Map.prototype._fillMap = function(value) { var map = []; for (var i=0;i