Drawing Mines (#13)

This commit is contained in:
gavin
2018-08-06 01:11:45 +00:00
committed by Gitea
parent 965d3ac7de
commit 77993e41e8
5 changed files with 175 additions and 158 deletions

View File

@@ -5,6 +5,7 @@ import OnTap from './onTap.js';
import Point from './point.js';
import Sketch from './sketch.js';
import DrawShapes from './drawShapes.js';
import DrawCircle from './drawCircle.js';
import DrawSquare from './drawSquare.js';
import DrawHexagon from './drawHexagon.js';
@@ -32,6 +33,8 @@ const TILES = {
[SQUARE]: new DrawSquare(),
};
const Shapes = new DrawShapes();
const DEFAULTS = {
tile: HEX,
board: HEX,
@@ -68,6 +71,7 @@ export class Tessellate {
static get TILES() {return TILES}
static get Cell() {return Cell}
static get Shapes() {return Shapes}
static get utils() {return utils}
static get funky() {return funky}