public Tile(int id, boolean solid, int tId) {
		this.id = id;
		if (tiles[id] != null) {
			throw new RuntimeException("Dulplicate tiles at " + id);
		}
		tiles[id] = this;
		this.solid = solid;
		this.tileId = tId;
	}