rebase to coding cookies style

This commit is contained in:
jwinterm
2017-11-25 13:20:36 -08:00
parent 1b27ad1f60
commit 2d142f70ef
15 changed files with 5676 additions and 50 deletions
+23
View File
@@ -0,0 +1,23 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
var Glyph = require('./glyph.js');
Tile = function(glyph) {
this._glyph = glyph;
};
Tile.prototype.getGlyph = function() {
return this._glyph;
};
Tile.nullTile = new Tile(new Glyph.Glyph());
Tile.floorTile = new Tile(new Glyph.Glyph('.'));
Tile.wallTile = new Tile(new Glyph.Glyph('#', 'goldenrod'));
module.exports = {
Tile,
};