import Enum from './enum';

export var TileTypes = new Enum('EMPTY','FLOOR','WALL');

export class Tile {
	constructor(x, y, chr){
		this.x = x;
		this.y = y;
		this.chr = chr;
	}
	draw(){
		
	}
}
import Enum from './enum';

export let TileTypes = new Enum('EMPTY','FLOOR','WALL');

export class Tile {
	constructor(x, y, chr){
		this.x = x;
		this.y = y;
		this.chr = chr;
	}
	draw(){
		
	}
}
Change var to let in tile.js