@thegraid/hexlib 1.3.2 → 1.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/table.d.ts CHANGED
@@ -102,7 +102,10 @@ export declare class Table extends Dispatcher {
102
102
  enableHexInspector(qY?: number, cont?: Container): HexShape;
103
103
  downClick: boolean;
104
104
  isVisible: boolean;
105
- /** invoked by enableHexInspector or KeyBinding. */
105
+ /** invoked by enableHexInspector or KeyBinding:
106
+ *
107
+ * Tile.allTiles.textVis(vis); hexMap.hex.showText(vis);
108
+ */
106
109
  toggleText(vis?: boolean): void;
107
110
  cacheScale: number;
108
111
  /**
@@ -114,13 +117,21 @@ export declare class Table extends Dispatcher {
114
117
  */
115
118
  reCacheTiles(setCache?: boolean, cacheScale?: number): void;
116
119
  aiControl(color?: string, dx?: number, rad?: number): Container;
117
- /** all the non-map hexes created by newHex2 */
120
+ /** all the non-map hexes created by newHex2; included in Tile.markLegal() */
118
121
  newHexes: IHex2[];
119
- newHex2(row: number | undefined, col: number | undefined, name: string, claz?: Constructor<IHex2>, sy?: number): {
122
+ /**
123
+ * create an off-map Hex2; push to this.newHexes[]
124
+ * @param row [0] aligned with hexMap
125
+ * @param col [0] aligned with hexMap
126
+ * @param name hex.Aname & hex.distText
127
+ * @param claz extends Hex2
128
+ * @returns the new Hex2
129
+ */
130
+ newHex2(row: number | undefined, col: number | undefined, name: string, claz?: Constructor<IHex2>): {
120
131
  readonly implementsIHex2: true;
121
132
  readonly cont: import("./hex").HexCont;
122
133
  readonly radius: number;
123
- readonly hexShape: HexShape;
134
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
124
135
  readonly mapCont: import("./hex").MapCont;
125
136
  readonly markCont: Container;
126
137
  x: number;
@@ -135,7 +146,7 @@ export declare class Table extends Dispatcher {
135
146
  readonly implementsIHex2: true;
136
147
  readonly cont: import("./hex").HexCont;
137
148
  readonly radius: number;
138
- readonly hexShape: HexShape;
149
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
139
150
  readonly mapCont: import("./hex").MapCont;
140
151
  readonly markCont: Container;
141
152
  x: number;
@@ -154,7 +165,8 @@ export declare class Table extends Dispatcher {
154
165
  legalMark: import("./hex").LegalMark;
155
166
  isLegal: boolean;
156
167
  initCont: (row: number, col: number) => void;
157
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
168
+ reCache: (scale?: number) => void;
169
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
158
170
  setHexColor: (color: string, district?: number | undefined) => void;
159
171
  metricDist: (hex: Hex) => number;
160
172
  cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
@@ -218,7 +230,8 @@ export declare class Table extends Dispatcher {
218
230
  legalMark: import("./hex").LegalMark;
219
231
  isLegal: boolean;
220
232
  initCont: (row: number, col: number) => void;
221
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
233
+ reCache: (scale?: number) => void;
234
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
222
235
  setHexColor: (color: string, district?: number | undefined) => void;
223
236
  metricDist: (hex: Hex) => number;
224
237
  cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
@@ -275,14 +288,12 @@ export declare class Table extends Dispatcher {
275
288
  lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
276
289
  radialDist: (hex: Hex) => number;
277
290
  };
278
- noRowHex(name: string, crxy: {
279
- row: number;
280
- col: number;
281
- }, claz?: Constructor<IHex2>): {
291
+ /** if hextowns/ankh ever want the half-row offset, they can override as follows: */
292
+ newHex2a(row: number | undefined, col: number | undefined, name: string, claz?: Constructor<IHex2>, sy?: number): {
282
293
  readonly implementsIHex2: true;
283
294
  readonly cont: import("./hex").HexCont;
284
295
  readonly radius: number;
285
- readonly hexShape: HexShape;
296
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
286
297
  readonly mapCont: import("./hex").MapCont;
287
298
  readonly markCont: Container;
288
299
  x: number;
@@ -297,7 +308,7 @@ export declare class Table extends Dispatcher {
297
308
  readonly implementsIHex2: true;
298
309
  readonly cont: import("./hex").HexCont;
299
310
  readonly radius: number;
300
- readonly hexShape: HexShape;
311
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
301
312
  readonly mapCont: import("./hex").MapCont;
302
313
  readonly markCont: Container;
303
314
  x: number;
@@ -316,7 +327,8 @@ export declare class Table extends Dispatcher {
316
327
  legalMark: import("./hex").LegalMark;
317
328
  isLegal: boolean;
318
329
  initCont: (row: number, col: number) => void;
319
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
330
+ reCache: (scale?: number) => void;
331
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
320
332
  setHexColor: (color: string, district?: number | undefined) => void;
321
333
  metricDist: (hex: Hex) => number;
322
334
  cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
@@ -380,7 +392,8 @@ export declare class Table extends Dispatcher {
380
392
  legalMark: import("./hex").LegalMark;
381
393
  isLegal: boolean;
382
394
  initCont: (row: number, col: number) => void;
383
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
395
+ reCache: (scale?: number) => void;
396
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
384
397
  setHexColor: (color: string, district?: number | undefined) => void;
385
398
  metricDist: (hex: Hex) => number;
386
399
  cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
@@ -536,16 +549,206 @@ export declare class Table extends Dispatcher {
536
549
  setToRowCol(cont: Container, row?: number, col?: number, hexCont?: Container): void;
537
550
  /** display source [and legalMark] on given hex [Ankh] */
538
551
  sourceOnHex(source: TileSource<Tile>, hex: IHex2): void;
552
+ /**
553
+ * Make a row of hexC that appear above panel at [row0, 0] (but are not children of panel)
554
+ * Suitable for Tile.makeSource0(...,)
555
+ *
556
+ * The row is centered across the width of panel (based on getBounds().width)
557
+ *
558
+ * Sets hex.visible = false;
559
+ * @param panel offset new Hexes to appear above given Container
560
+ * @param row0 [.75] offset in y direction
561
+ * @param colN [4] number of Hex to create
562
+ * @param hexC [this.hexC]
563
+ * @param opts
564
+ * @param - vis [false] initial visiblity
565
+ * @param - gap [0] space between columns
566
+ *
567
+ * @returns hexC[] with each hex.cont.xy offset to appear over panel
568
+ */
569
+ hexesOnPanel(panel: Container, row0?: number, colN?: number, hexC?: Constructor<IHex2>, opts?: {
570
+ vis?: boolean;
571
+ gap?: number;
572
+ }): {
573
+ readonly implementsIHex2: true;
574
+ readonly cont: import("./hex").HexCont;
575
+ readonly radius: number;
576
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
577
+ readonly mapCont: import("./hex").MapCont;
578
+ readonly markCont: Container;
579
+ x: number;
580
+ y: number;
581
+ readonly scaleX: number;
582
+ readonly scaleY: number;
583
+ district: number | undefined;
584
+ distColor: string;
585
+ distText: Text;
586
+ rcText: Text;
587
+ constructorCode: (map: HexM<{
588
+ readonly implementsIHex2: true;
589
+ readonly cont: import("./hex").HexCont;
590
+ readonly radius: number;
591
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
592
+ readonly mapCont: import("./hex").MapCont;
593
+ readonly markCont: Container;
594
+ x: number;
595
+ y: number;
596
+ readonly scaleX: number;
597
+ readonly scaleY: number;
598
+ district: number | undefined;
599
+ distColor: string;
600
+ distText: Text;
601
+ rcText: Text;
602
+ constructorCode: any;
603
+ setRcText: (row: number, col: number, rcf?: number) => void;
604
+ setDistText: (dText?: string, size?: number) => void;
605
+ showText: (vis?: boolean) => void;
606
+ makeLegalMark: () => import("./hex").LegalMark;
607
+ legalMark: import("./hex").LegalMark;
608
+ isLegal: boolean;
609
+ initCont: (row: number, col: number) => void;
610
+ reCache: (scale?: number) => void;
611
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
612
+ setHexColor: (color: string, district?: number | undefined) => void;
613
+ metricDist: (hex: Hex) => number;
614
+ cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
615
+ edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
616
+ _tile: import("./tile").MapTile | undefined;
617
+ tile: Tile | undefined;
618
+ _meep: import("./meeple").Meeple | undefined;
619
+ meep: import("./meeple").Meeple | undefined;
620
+ readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
621
+ toString: (color?: string) => string;
622
+ rcspString: (color?: string) => string;
623
+ setUnit: (unit: Tile, isMeep?: boolean) => void;
624
+ unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
625
+ xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
626
+ x: number;
627
+ y: number;
628
+ w: number;
629
+ h: number;
630
+ dxdc: number;
631
+ dydr: number;
632
+ };
633
+ readonly xywh0: {
634
+ x: number;
635
+ y: number;
636
+ w: number;
637
+ h: number;
638
+ dxdc: number;
639
+ dydr: number;
640
+ };
641
+ Aname: string;
642
+ readonly iHex: IdHex;
643
+ readonly rcs: string;
644
+ readonly rowsp: string;
645
+ readonly colsp: string;
646
+ readonly rcsp: string;
647
+ readonly rc_linear: number;
648
+ _rcLinear?: number | undefined;
649
+ _district: number | undefined;
650
+ readonly isOnMap: boolean;
651
+ _isLegal: boolean;
652
+ readonly map: HexM<Hex>;
653
+ readonly row: number;
654
+ readonly col: number;
655
+ readonly links: import("./hex").LINKS<import("./hex").Hex2>;
656
+ metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
657
+ readonly linkDirs: import("./hex-intfs").HexDir[];
658
+ readonly linkHexes: (import("./hex").Hex2 | undefined)[];
659
+ forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
660
+ findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
661
+ findInDir: (dir: import("./hex-intfs").HexDir, pred: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex").Hex2 | undefined;
662
+ hexesInDir: (dir: import("./hex-intfs").HexDir, rv?: import("./hex").Hex2[]) => import("./hex").Hex2[];
663
+ forEachHexDir: (func: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => unknown) => void;
664
+ nextHex: (dir: import("./hex-intfs").HexDir, ns?: number) => import("./hex").Hex2 | undefined;
665
+ lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
666
+ radialDist: (hex: Hex) => number;
667
+ }>, row: number, col: number, dText?: string) => void;
668
+ setRcText: (row: number, col: number, rcf?: number) => void;
669
+ setDistText: (dText?: string, size?: number) => void;
670
+ showText: (vis?: boolean) => void;
671
+ makeLegalMark: () => import("./hex").LegalMark;
672
+ legalMark: import("./hex").LegalMark;
673
+ isLegal: boolean;
674
+ initCont: (row: number, col: number) => void;
675
+ reCache: (scale?: number) => void;
676
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
677
+ setHexColor: (color: string, district?: number | undefined) => void;
678
+ metricDist: (hex: Hex) => number;
679
+ cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
680
+ edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
681
+ _tile: import("./tile").MapTile | undefined;
682
+ tile: Tile | undefined;
683
+ _meep: import("./meeple").Meeple | undefined;
684
+ meep: import("./meeple").Meeple | undefined;
685
+ readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
686
+ toString: (color?: string) => string;
687
+ rcspString: (color?: string) => string;
688
+ setUnit: (unit: Tile, isMeep?: boolean) => void;
689
+ unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
690
+ xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
691
+ x: number;
692
+ y: number;
693
+ w: number;
694
+ h: number;
695
+ dxdc: number;
696
+ dydr: number;
697
+ };
698
+ readonly xywh0: {
699
+ x: number;
700
+ y: number;
701
+ w: number;
702
+ h: number;
703
+ dxdc: number;
704
+ dydr: number;
705
+ };
706
+ Aname: string;
707
+ readonly iHex: IdHex;
708
+ readonly rcs: string;
709
+ readonly rowsp: string;
710
+ readonly colsp: string;
711
+ readonly rcsp: string;
712
+ readonly rc_linear: number;
713
+ _rcLinear?: number | undefined;
714
+ _district: number | undefined;
715
+ readonly isOnMap: boolean;
716
+ _isLegal: boolean;
717
+ readonly map: HexM<Hex>;
718
+ readonly row: number;
719
+ readonly col: number;
720
+ readonly links: import("./hex").LINKS<import("./hex").Hex2>;
721
+ metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
722
+ readonly linkDirs: import("./hex-intfs").HexDir[];
723
+ readonly linkHexes: (import("./hex").Hex2 | undefined)[];
724
+ forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
725
+ findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
726
+ findInDir: (dir: import("./hex-intfs").HexDir, pred: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex").Hex2 | undefined;
727
+ hexesInDir: (dir: import("./hex-intfs").HexDir, rv?: import("./hex").Hex2[]) => import("./hex").Hex2[];
728
+ forEachHexDir: (func: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => unknown) => void;
729
+ nextHex: (dir: import("./hex-intfs").HexDir, ns?: number) => import("./hex").Hex2 | undefined;
730
+ lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
731
+ radialDist: (hex: Hex) => number;
732
+ }[];
539
733
  /** @deprecated use UtilButton (change cgf on RectShape) [legacy from Ankh] */
540
734
  makeCircleButton(color?: string, rad?: number, c?: string, fs?: number): Container;
541
735
  /** @deprecated use UtilButton [from Ankh] */
542
736
  makeSquareButton(color: string | undefined, xywh: XYWH, c?: string, fs?: number): Container;
543
- /** @deprecated [legacy from hextowns] */
544
- makeRecycleHex(row?: number, col?: number, claz?: typeof RecycleHex): {
737
+ /**
738
+ * A newHex2 with the 'Recycle' image on top. [legacy from hextowns]
739
+ *
740
+ * Typically: invoke from layoutTable() or layoutTable2()
741
+ * @param row [TP.nHexes + 3.2] below the centerline
742
+ * @param col [0] toward the left edge
743
+ * @param name ['Recycle'] hex.Aname and name of image to use
744
+ * @param claz [RecycleHex]
745
+ * @returns
746
+ */
747
+ makeRecycleHex(row?: number, col?: number, name?: string, claz?: typeof RecycleHex): {
545
748
  readonly implementsIHex2: true;
546
749
  readonly cont: import("./hex").HexCont;
547
750
  readonly radius: number;
548
- readonly hexShape: HexShape;
751
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
549
752
  readonly mapCont: import("./hex").MapCont;
550
753
  readonly markCont: Container;
551
754
  x: number;
@@ -560,7 +763,7 @@ export declare class Table extends Dispatcher {
560
763
  readonly implementsIHex2: true;
561
764
  readonly cont: import("./hex").HexCont;
562
765
  readonly radius: number;
563
- readonly hexShape: HexShape;
766
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
564
767
  readonly mapCont: import("./hex").MapCont;
565
768
  readonly markCont: Container;
566
769
  x: number;
@@ -579,7 +782,8 @@ export declare class Table extends Dispatcher {
579
782
  legalMark: import("./hex").LegalMark;
580
783
  isLegal: boolean;
581
784
  initCont: (row: number, col: number) => void;
582
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
785
+ reCache: (scale?: number) => void;
786
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
583
787
  setHexColor: (color: string, district?: number | undefined) => void;
584
788
  metricDist: (hex: Hex) => number;
585
789
  cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
@@ -643,7 +847,8 @@ export declare class Table extends Dispatcher {
643
847
  legalMark: import("./hex").LegalMark;
644
848
  isLegal: boolean;
645
849
  initCont: (row: number, col: number) => void;
646
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
850
+ reCache: (scale?: number) => void;
851
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
647
852
  setHexColor: (color: string, district?: number | undefined) => void;
648
853
  metricDist: (hex: Hex) => number;
649
854
  cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
@@ -743,7 +948,7 @@ export declare class Table extends Dispatcher {
743
948
  readonly implementsIHex2: true;
744
949
  readonly cont: import("./hex").HexCont;
745
950
  readonly radius: number;
746
- readonly hexShape: HexShape;
951
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
747
952
  readonly mapCont: import("./hex").MapCont;
748
953
  readonly markCont: Container;
749
954
  x: number;
@@ -758,7 +963,7 @@ export declare class Table extends Dispatcher {
758
963
  readonly implementsIHex2: true;
759
964
  readonly cont: import("./hex").HexCont;
760
965
  readonly radius: number;
761
- readonly hexShape: HexShape;
966
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
762
967
  readonly mapCont: import("./hex").MapCont;
763
968
  readonly markCont: Container;
764
969
  x: number;
@@ -777,7 +982,8 @@ export declare class Table extends Dispatcher {
777
982
  legalMark: import("./hex").LegalMark;
778
983
  isLegal: boolean;
779
984
  initCont: (row: number, col: number) => void;
780
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
985
+ reCache: (scale?: number) => void;
986
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
781
987
  setHexColor: (color: string, district?: number | undefined) => void;
782
988
  metricDist: (hex: Hex) => number;
783
989
  cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
@@ -841,7 +1047,8 @@ export declare class Table extends Dispatcher {
841
1047
  legalMark: import("./hex").LegalMark;
842
1048
  isLegal: boolean;
843
1049
  initCont: (row: number, col: number) => void;
844
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
1050
+ reCache: (scale?: number) => void;
1051
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
845
1052
  setHexColor: (color: string, district?: number | undefined) => void;
846
1053
  metricDist: (hex: Hex) => number;
847
1054
  cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
@@ -914,7 +1121,7 @@ export declare class Table extends Dispatcher {
914
1121
  readonly implementsIHex2: true;
915
1122
  readonly cont: import("./hex").HexCont;
916
1123
  readonly radius: number;
917
- readonly hexShape: HexShape;
1124
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
918
1125
  readonly mapCont: import("./hex").MapCont;
919
1126
  readonly markCont: Container;
920
1127
  x: number;
@@ -929,7 +1136,7 @@ export declare class Table extends Dispatcher {
929
1136
  readonly implementsIHex2: true;
930
1137
  readonly cont: import("./hex").HexCont;
931
1138
  readonly radius: number;
932
- readonly hexShape: HexShape;
1139
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
933
1140
  readonly mapCont: import("./hex").MapCont;
934
1141
  readonly markCont: Container;
935
1142
  x: number;
@@ -948,7 +1155,8 @@ export declare class Table extends Dispatcher {
948
1155
  legalMark: import("./hex").LegalMark;
949
1156
  isLegal: boolean;
950
1157
  initCont: (row: number, col: number) => void;
951
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
1158
+ reCache: (scale?: number) => void;
1159
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
952
1160
  setHexColor: (color: string, district?: number | undefined) => void;
953
1161
  metricDist: (hex: Hex) => number;
954
1162
  cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
@@ -1012,7 +1220,8 @@ export declare class Table extends Dispatcher {
1012
1220
  legalMark: import("./hex").LegalMark;
1013
1221
  isLegal: boolean;
1014
1222
  initCont: (row: number, col: number) => void;
1015
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
1223
+ reCache: (scale?: number) => void;
1224
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
1016
1225
  setHexColor: (color: string, district?: number | undefined) => void;
1017
1226
  metricDist: (hex: Hex) => number;
1018
1227
  cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
@@ -1101,7 +1310,7 @@ export declare class Table extends Dispatcher {
1101
1310
  readonly implementsIHex2: true;
1102
1311
  readonly cont: import("./hex").HexCont;
1103
1312
  readonly radius: number;
1104
- readonly hexShape: HexShape;
1313
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
1105
1314
  readonly mapCont: import("./hex").MapCont;
1106
1315
  readonly markCont: Container;
1107
1316
  x: number;
@@ -1116,7 +1325,7 @@ export declare class Table extends Dispatcher {
1116
1325
  readonly implementsIHex2: true;
1117
1326
  readonly cont: import("./hex").HexCont;
1118
1327
  readonly radius: number;
1119
- readonly hexShape: HexShape;
1328
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
1120
1329
  readonly mapCont: import("./hex").MapCont;
1121
1330
  readonly markCont: Container;
1122
1331
  x: number;
@@ -1135,7 +1344,8 @@ export declare class Table extends Dispatcher {
1135
1344
  legalMark: import("./hex").LegalMark;
1136
1345
  isLegal: boolean;
1137
1346
  initCont: (row: number, col: number) => void;
1138
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
1347
+ reCache: (scale?: number) => void;
1348
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
1139
1349
  setHexColor: (color: string, district?: number | undefined) => void;
1140
1350
  metricDist: (hex: Hex) => number;
1141
1351
  cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
@@ -1199,7 +1409,8 @@ export declare class Table extends Dispatcher {
1199
1409
  legalMark: import("./hex").LegalMark;
1200
1410
  isLegal: boolean;
1201
1411
  initCont: (row: number, col: number) => void;
1202
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
1412
+ reCache: (scale?: number) => void;
1413
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
1203
1414
  setHexColor: (color: string, district?: number | undefined) => void;
1204
1415
  metricDist: (hex: Hex) => number;
1205
1416
  cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
@@ -1269,7 +1480,7 @@ export declare class Table extends Dispatcher {
1269
1480
  readonly implementsIHex2: true;
1270
1481
  readonly cont: import("./hex").HexCont;
1271
1482
  readonly radius: number;
1272
- readonly hexShape: HexShape;
1483
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
1273
1484
  readonly mapCont: import("./hex").MapCont;
1274
1485
  readonly markCont: Container;
1275
1486
  x: number;
@@ -1284,7 +1495,7 @@ export declare class Table extends Dispatcher {
1284
1495
  readonly implementsIHex2: true;
1285
1496
  readonly cont: import("./hex").HexCont;
1286
1497
  readonly radius: number;
1287
- readonly hexShape: HexShape;
1498
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
1288
1499
  readonly mapCont: import("./hex").MapCont;
1289
1500
  readonly markCont: Container;
1290
1501
  x: number;
@@ -1303,7 +1514,8 @@ export declare class Table extends Dispatcher {
1303
1514
  legalMark: import("./hex").LegalMark;
1304
1515
  isLegal: boolean;
1305
1516
  initCont: (row: number, col: number) => void;
1306
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
1517
+ reCache: (scale?: number) => void;
1518
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
1307
1519
  setHexColor: (color: string, district?: number | undefined) => void;
1308
1520
  metricDist: (hex: Hex) => number;
1309
1521
  cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
@@ -1367,7 +1579,8 @@ export declare class Table extends Dispatcher {
1367
1579
  legalMark: import("./hex").LegalMark;
1368
1580
  isLegal: boolean;
1369
1581
  initCont: (row: number, col: number) => void;
1370
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
1582
+ reCache: (scale?: number) => void;
1583
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
1371
1584
  setHexColor: (color: string, district?: number | undefined) => void;
1372
1585
  metricDist: (hex: Hex) => number;
1373
1586
  cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../src/table.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAS,WAAW,EAAe,EAAE,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAwC,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAa,cAAc,EAAE,WAAW,EAAE,QAAQ,EAAa,SAAS,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnO,OAAO,EAAE,SAAS,EAAE,aAAa,EAAY,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAElG,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAU,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,MAAM,WAAW,QAAQ;IACvB,SAAS,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,WAAW,GAAG,IAAI,CAAC;IAC9C,SAAS,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,WAAW,GAAG,IAAI,CAAC;CAC/C;AAED,qBAAqB;AACrB,cAAM,YAAY;gBACJ,QAAQ,EAAE,QAAQ;CAC/B;AA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