Librarried (#7)
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
import * as utils from './utils';
|
||||
export {utils};
|
||||
|
||||
import * as funky from './funky';
|
||||
export {funky};
|
||||
|
||||
import OnTap from './onTap.js';
|
||||
import Point from './point.js';
|
||||
@@ -11,10 +8,8 @@ import Sketch from './sketch.js';
|
||||
import DrawCircle from './drawCircle.js';
|
||||
import DrawSquare from './drawSquare.js';
|
||||
import DrawHexagon from './drawHexagon.js';
|
||||
export {DrawCircle, DrawHexagon, DrawSquare};
|
||||
|
||||
import Cell from './cell.js';
|
||||
export {Cell};
|
||||
|
||||
import CartographerFlatXY from './cartographerFlatXY.js';
|
||||
import CartographerPointyXY from './cartographerPointyXY.js';
|
||||
@@ -61,13 +56,18 @@ function selectCartographer(board, orientation) {
|
||||
}
|
||||
}
|
||||
|
||||
export default class Tessellate {
|
||||
static get TILES() {return TILES}
|
||||
export class Tessellate {
|
||||
static get TILE_STYLES() {return TILE_STYLES}
|
||||
static get BOARD_STYLES() {return BOARD_STYLES}
|
||||
static get TILE_ORIENTATIONS() {return TILE_ORIENTATIONS}
|
||||
static get TILE_ORIENTATIONS() {return TILE_ORIENTATIONS} // TODO: rename to ORIENTATION_STYLES
|
||||
static get DRAW_STYLES() {return DRAW_STYLES}
|
||||
|
||||
static get TILES() {return TILES}
|
||||
static get Cell() {return Cell}
|
||||
|
||||
static get utils() {return utils}
|
||||
static get funky() {return funky}
|
||||
|
||||
constructor(settings) {
|
||||
[
|
||||
'checkSettings',
|
||||
|
||||
Reference in New Issue
Block a user