@thegraid/hexlib 1.3.4 → 1.3.6

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;
@@ -155,19 +166,19 @@ export declare class Table extends Dispatcher {
155
166
  isLegal: boolean;
156
167
  initCont: (row: number, col: number) => void;
157
168
  reCache: (scale?: number) => void;
158
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
169
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
159
170
  setHexColor: (color: string, district?: number | undefined) => void;
160
171
  metricDist: (hex: Hex) => number;
161
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;
162
173
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
163
174
  _tile: import("./tile").MapTile | undefined;
164
175
  tile: Tile | undefined;
165
- _meep: import("./meeple").Meeple | undefined;
166
- meep: import("./meeple").Meeple | undefined;
167
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
176
+ _meep: Tile | undefined;
177
+ meep: Tile | undefined;
178
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
168
179
  toString: (color?: string) => string;
169
180
  rcspString: (color?: string) => string;
170
- setUnit: (unit: Tile, isMeep?: boolean) => void;
181
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
171
182
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
172
183
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
173
184
  x: number;
@@ -220,19 +231,19 @@ export declare class Table extends Dispatcher {
220
231
  isLegal: boolean;
221
232
  initCont: (row: number, col: number) => void;
222
233
  reCache: (scale?: number) => void;
223
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
234
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
224
235
  setHexColor: (color: string, district?: number | undefined) => void;
225
236
  metricDist: (hex: Hex) => number;
226
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;
227
238
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
228
239
  _tile: import("./tile").MapTile | undefined;
229
240
  tile: Tile | undefined;
230
- _meep: import("./meeple").Meeple | undefined;
231
- meep: import("./meeple").Meeple | undefined;
232
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
241
+ _meep: Tile | undefined;
242
+ meep: Tile | undefined;
243
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
233
244
  toString: (color?: string) => string;
234
245
  rcspString: (color?: string) => string;
235
- setUnit: (unit: Tile, isMeep?: boolean) => void;
246
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
236
247
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
237
248
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
238
249
  x: number;
@@ -277,14 +288,12 @@ export declare class Table extends Dispatcher {
277
288
  lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
278
289
  radialDist: (hex: Hex) => number;
279
290
  };
280
- noRowHex(name: string, crxy: {
281
- row: number;
282
- col: number;
283
- }, 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): {
284
293
  readonly implementsIHex2: true;
285
294
  readonly cont: import("./hex").HexCont;
286
295
  readonly radius: number;
287
- readonly hexShape: HexShape;
296
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
288
297
  readonly mapCont: import("./hex").MapCont;
289
298
  readonly markCont: Container;
290
299
  x: number;
@@ -299,7 +308,7 @@ export declare class Table extends Dispatcher {
299
308
  readonly implementsIHex2: true;
300
309
  readonly cont: import("./hex").HexCont;
301
310
  readonly radius: number;
302
- readonly hexShape: HexShape;
311
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
303
312
  readonly mapCont: import("./hex").MapCont;
304
313
  readonly markCont: Container;
305
314
  x: number;
@@ -319,19 +328,19 @@ export declare class Table extends Dispatcher {
319
328
  isLegal: boolean;
320
329
  initCont: (row: number, col: number) => void;
321
330
  reCache: (scale?: number) => void;
322
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
331
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
323
332
  setHexColor: (color: string, district?: number | undefined) => void;
324
333
  metricDist: (hex: Hex) => number;
325
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;
326
335
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
327
336
  _tile: import("./tile").MapTile | undefined;
328
337
  tile: Tile | undefined;
329
- _meep: import("./meeple").Meeple | undefined;
330
- meep: import("./meeple").Meeple | undefined;
331
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
338
+ _meep: Tile | undefined;
339
+ meep: Tile | undefined;
340
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
332
341
  toString: (color?: string) => string;
333
342
  rcspString: (color?: string) => string;
334
- setUnit: (unit: Tile, isMeep?: boolean) => void;
343
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
335
344
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
336
345
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
337
346
  x: number;
@@ -384,19 +393,19 @@ export declare class Table extends Dispatcher {
384
393
  isLegal: boolean;
385
394
  initCont: (row: number, col: number) => void;
386
395
  reCache: (scale?: number) => void;
387
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
396
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
388
397
  setHexColor: (color: string, district?: number | undefined) => void;
389
398
  metricDist: (hex: Hex) => number;
390
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;
391
400
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
392
401
  _tile: import("./tile").MapTile | undefined;
393
402
  tile: Tile | undefined;
394
- _meep: import("./meeple").Meeple | undefined;
395
- meep: import("./meeple").Meeple | undefined;
396
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
403
+ _meep: Tile | undefined;
404
+ meep: Tile | undefined;
405
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
397
406
  toString: (color?: string) => string;
398
407
  rcspString: (color?: string) => string;
399
- setUnit: (unit: Tile, isMeep?: boolean) => void;
408
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
400
409
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
401
410
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
402
411
  x: number;
@@ -551,14 +560,20 @@ export declare class Table extends Dispatcher {
551
560
  * @param row0 [.75] offset in y direction
552
561
  * @param colN [4] number of Hex to create
553
562
  * @param hexC [this.hexC]
554
- * @param vis [false] initial visiblity
563
+ * @param opts
564
+ * @param - vis [false] initial visiblity
565
+ * @param - gap [0] space between columns
566
+ *
555
567
  * @returns hexC[] with each hex.cont.xy offset to appear over panel
556
568
  */
557
- hexesOnPanel(panel: Container, row0?: number, colN?: number, hexC?: Constructor<{
569
+ hexesOnPanel(panel: Container, row0?: number, colN?: number, hexC?: Constructor<IHex2>, opts?: {
570
+ vis?: boolean;
571
+ gap?: number;
572
+ }): {
558
573
  readonly implementsIHex2: true;
559
574
  readonly cont: import("./hex").HexCont;
560
575
  readonly radius: number;
561
- readonly hexShape: HexShape;
576
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
562
577
  readonly mapCont: import("./hex").MapCont;
563
578
  readonly markCont: Container;
564
579
  x: number;
@@ -573,7 +588,7 @@ export declare class Table extends Dispatcher {
573
588
  readonly implementsIHex2: true;
574
589
  readonly cont: import("./hex").HexCont;
575
590
  readonly radius: number;
576
- readonly hexShape: HexShape;
591
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
577
592
  readonly mapCont: import("./hex").MapCont;
578
593
  readonly markCont: Container;
579
594
  x: number;
@@ -593,19 +608,19 @@ export declare class Table extends Dispatcher {
593
608
  isLegal: boolean;
594
609
  initCont: (row: number, col: number) => void;
595
610
  reCache: (scale?: number) => void;
596
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
611
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
597
612
  setHexColor: (color: string, district?: number | undefined) => void;
598
613
  metricDist: (hex: Hex) => number;
599
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;
600
615
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
601
616
  _tile: import("./tile").MapTile | undefined;
602
617
  tile: Tile | undefined;
603
- _meep: import("./meeple").Meeple | undefined;
604
- meep: import("./meeple").Meeple | undefined;
605
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
618
+ _meep: Tile | undefined;
619
+ meep: Tile | undefined;
620
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
606
621
  toString: (color?: string) => string;
607
622
  rcspString: (color?: string) => string;
608
- setUnit: (unit: Tile, isMeep?: boolean) => void;
623
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
609
624
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
610
625
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
611
626
  x: number;
@@ -658,179 +673,19 @@ export declare class Table extends Dispatcher {
658
673
  isLegal: boolean;
659
674
  initCont: (row: number, col: number) => void;
660
675
  reCache: (scale?: number) => void;
661
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
676
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
662
677
  setHexColor: (color: string, district?: number | undefined) => void;
663
678
  metricDist: (hex: Hex) => number;
664
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;
665
680
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
666
681
  _tile: import("./tile").MapTile | undefined;
667
682
  tile: Tile | undefined;
668
- _meep: import("./meeple").Meeple | undefined;
669
- meep: import("./meeple").Meeple | undefined;
670
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
683
+ _meep: Tile | undefined;
684
+ meep: Tile | undefined;
685
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
671
686
  toString: (color?: string) => string;
672
687
  rcspString: (color?: string) => string;
673
- setUnit: (unit: Tile, isMeep?: boolean) => void;
674
- unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
675
- xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
676
- x: number;
677
- y: number;
678
- w: number;
679
- h: number;
680
- dxdc: number;
681
- dydr: number;
682
- };
683
- readonly xywh0: {
684
- x: number;
685
- y: number;
686
- w: number;
687
- h: number;
688
- dxdc: number;
689
- dydr: number;
690
- };
691
- Aname: string;
692
- readonly iHex: IdHex;
693
- readonly rcs: string;
694
- readonly rowsp: string;
695
- readonly colsp: string;
696
- readonly rcsp: string;
697
- readonly rc_linear: number;
698
- _rcLinear?: number | undefined;
699
- _district: number | undefined;
700
- readonly isOnMap: boolean;
701
- _isLegal: boolean;
702
- readonly map: HexM<Hex>;
703
- readonly row: number;
704
- readonly col: number;
705
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
706
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
707
- readonly linkDirs: import("./hex-intfs").HexDir[];
708
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
709
- forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
710
- findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
711
- 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;
712
- hexesInDir: (dir: import("./hex-intfs").HexDir, rv?: import("./hex").Hex2[]) => import("./hex").Hex2[];
713
- forEachHexDir: (func: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => unknown) => void;
714
- nextHex: (dir: import("./hex-intfs").HexDir, ns?: number) => import("./hex").Hex2 | undefined;
715
- lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
716
- radialDist: (hex: Hex) => number;
717
- }>, vis?: boolean): {
718
- readonly implementsIHex2: true;
719
- readonly cont: import("./hex").HexCont;
720
- readonly radius: number;
721
- readonly hexShape: HexShape;
722
- readonly mapCont: import("./hex").MapCont;
723
- readonly markCont: Container;
724
- x: number;
725
- y: number;
726
- readonly scaleX: number;
727
- readonly scaleY: number;
728
- district: number | undefined;
729
- distColor: string;
730
- distText: Text;
731
- rcText: Text;
732
- constructorCode: (map: HexM<{
733
- readonly implementsIHex2: true;
734
- readonly cont: import("./hex").HexCont;
735
- readonly radius: number;
736
- readonly hexShape: HexShape;
737
- readonly mapCont: import("./hex").MapCont;
738
- readonly markCont: Container;
739
- x: number;
740
- y: number;
741
- readonly scaleX: number;
742
- readonly scaleY: number;
743
- district: number | undefined;
744
- distColor: string;
745
- distText: Text;
746
- rcText: Text;
747
- constructorCode: any;
748
- setRcText: (row: number, col: number, rcf?: number) => void;
749
- setDistText: (dText?: string, size?: number) => void;
750
- showText: (vis?: boolean) => void;
751
- makeLegalMark: () => import("./hex").LegalMark;
752
- legalMark: import("./hex").LegalMark;
753
- isLegal: boolean;
754
- initCont: (row: number, col: number) => void;
755
- reCache: (scale?: number) => void;
756
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
757
- setHexColor: (color: string, district?: number | undefined) => void;
758
- metricDist: (hex: Hex) => number;
759
- cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
760
- edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
761
- _tile: import("./tile").MapTile | undefined;
762
- tile: Tile | undefined;
763
- _meep: import("./meeple").Meeple | undefined;
764
- meep: import("./meeple").Meeple | undefined;
765
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
766
- toString: (color?: string) => string;
767
- rcspString: (color?: string) => string;
768
- setUnit: (unit: Tile, isMeep?: boolean) => void;
769
- unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
770
- xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
771
- x: number;
772
- y: number;
773
- w: number;
774
- h: number;
775
- dxdc: number;
776
- dydr: number;
777
- };
778
- readonly xywh0: {
779
- x: number;
780
- y: number;
781
- w: number;
782
- h: number;
783
- dxdc: number;
784
- dydr: number;
785
- };
786
- Aname: string;
787
- readonly iHex: IdHex;
788
- readonly rcs: string;
789
- readonly rowsp: string;
790
- readonly colsp: string;
791
- readonly rcsp: string;
792
- readonly rc_linear: number;
793
- _rcLinear?: number | undefined;
794
- _district: number | undefined;
795
- readonly isOnMap: boolean;
796
- _isLegal: boolean;
797
- readonly map: HexM<Hex>;
798
- readonly row: number;
799
- readonly col: number;
800
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
801
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
802
- readonly linkDirs: import("./hex-intfs").HexDir[];
803
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
804
- forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
805
- findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
806
- 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;
807
- hexesInDir: (dir: import("./hex-intfs").HexDir, rv?: import("./hex").Hex2[]) => import("./hex").Hex2[];
808
- forEachHexDir: (func: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => unknown) => void;
809
- nextHex: (dir: import("./hex-intfs").HexDir, ns?: number) => import("./hex").Hex2 | undefined;
810
- lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
811
- radialDist: (hex: Hex) => number;
812
- }>, row: number, col: number, dText?: string) => void;
813
- setRcText: (row: number, col: number, rcf?: number) => void;
814
- setDistText: (dText?: string, size?: number) => void;
815
- showText: (vis?: boolean) => void;
816
- makeLegalMark: () => import("./hex").LegalMark;
817
- legalMark: import("./hex").LegalMark;
818
- isLegal: boolean;
819
- initCont: (row: number, col: number) => void;
820
- reCache: (scale?: number) => void;
821
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
822
- setHexColor: (color: string, district?: number | undefined) => void;
823
- metricDist: (hex: Hex) => number;
824
- cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, point?: import("@thegraid/easeljs-module").Point, rad?: number) => import("@thegraid/easeljs-module").Point;
825
- edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
826
- _tile: import("./tile").MapTile | undefined;
827
- tile: Tile | undefined;
828
- _meep: import("./meeple").Meeple | undefined;
829
- meep: import("./meeple").Meeple | undefined;
830
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
831
- toString: (color?: string) => string;
832
- rcspString: (color?: string) => string;
833
- setUnit: (unit: Tile, isMeep?: boolean) => void;
688
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
834
689
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
835
690
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
836
691
  x: number;
@@ -879,12 +734,21 @@ export declare class Table extends Dispatcher {
879
734
  makeCircleButton(color?: string, rad?: number, c?: string, fs?: number): Container;
880
735
  /** @deprecated use UtilButton [from Ankh] */
881
736
  makeSquareButton(color: string | undefined, xywh: XYWH, c?: string, fs?: number): Container;
882
- /** @deprecated [legacy from hextowns] */
883
- 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): {
884
748
  readonly implementsIHex2: true;
885
749
  readonly cont: import("./hex").HexCont;
886
750
  readonly radius: number;
887
- readonly hexShape: HexShape;
751
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
888
752
  readonly mapCont: import("./hex").MapCont;
889
753
  readonly markCont: Container;
890
754
  x: number;
@@ -899,7 +763,7 @@ export declare class Table extends Dispatcher {
899
763
  readonly implementsIHex2: true;
900
764
  readonly cont: import("./hex").HexCont;
901
765
  readonly radius: number;
902
- readonly hexShape: HexShape;
766
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
903
767
  readonly mapCont: import("./hex").MapCont;
904
768
  readonly markCont: Container;
905
769
  x: number;
@@ -919,19 +783,19 @@ export declare class Table extends Dispatcher {
919
783
  isLegal: boolean;
920
784
  initCont: (row: number, col: number) => void;
921
785
  reCache: (scale?: number) => void;
922
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
786
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
923
787
  setHexColor: (color: string, district?: number | undefined) => void;
924
788
  metricDist: (hex: Hex) => number;
925
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;
926
790
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
927
791
  _tile: import("./tile").MapTile | undefined;
928
792
  tile: Tile | undefined;
929
- _meep: import("./meeple").Meeple | undefined;
930
- meep: import("./meeple").Meeple | undefined;
931
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
793
+ _meep: Tile | undefined;
794
+ meep: Tile | undefined;
795
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
932
796
  toString: (color?: string) => string;
933
797
  rcspString: (color?: string) => string;
934
- setUnit: (unit: Tile, isMeep?: boolean) => void;
798
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
935
799
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
936
800
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
937
801
  x: number;
@@ -984,19 +848,19 @@ export declare class Table extends Dispatcher {
984
848
  isLegal: boolean;
985
849
  initCont: (row: number, col: number) => void;
986
850
  reCache: (scale?: number) => void;
987
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
851
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
988
852
  setHexColor: (color: string, district?: number | undefined) => void;
989
853
  metricDist: (hex: Hex) => number;
990
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;
991
855
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
992
856
  _tile: import("./tile").MapTile | undefined;
993
857
  tile: Tile | undefined;
994
- _meep: import("./meeple").Meeple | undefined;
995
- meep: import("./meeple").Meeple | undefined;
996
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
858
+ _meep: Tile | undefined;
859
+ meep: Tile | undefined;
860
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
997
861
  toString: (color?: string) => string;
998
862
  rcspString: (color?: string) => string;
999
- setUnit: (unit: Tile, isMeep?: boolean) => void;
863
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
1000
864
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
1001
865
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
1002
866
  x: number;
@@ -1084,7 +948,7 @@ export declare class Table extends Dispatcher {
1084
948
  readonly implementsIHex2: true;
1085
949
  readonly cont: import("./hex").HexCont;
1086
950
  readonly radius: number;
1087
- readonly hexShape: HexShape;
951
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
1088
952
  readonly mapCont: import("./hex").MapCont;
1089
953
  readonly markCont: Container;
1090
954
  x: number;
@@ -1099,7 +963,7 @@ export declare class Table extends Dispatcher {
1099
963
  readonly implementsIHex2: true;
1100
964
  readonly cont: import("./hex").HexCont;
1101
965
  readonly radius: number;
1102
- readonly hexShape: HexShape;
966
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
1103
967
  readonly mapCont: import("./hex").MapCont;
1104
968
  readonly markCont: Container;
1105
969
  x: number;
@@ -1119,19 +983,19 @@ export declare class Table extends Dispatcher {
1119
983
  isLegal: boolean;
1120
984
  initCont: (row: number, col: number) => void;
1121
985
  reCache: (scale?: number) => void;
1122
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
986
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
1123
987
  setHexColor: (color: string, district?: number | undefined) => void;
1124
988
  metricDist: (hex: Hex) => number;
1125
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;
1126
990
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
1127
991
  _tile: import("./tile").MapTile | undefined;
1128
992
  tile: Tile | undefined;
1129
- _meep: import("./meeple").Meeple | undefined;
1130
- meep: import("./meeple").Meeple | undefined;
1131
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
993
+ _meep: Tile | undefined;
994
+ meep: Tile | undefined;
995
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
1132
996
  toString: (color?: string) => string;
1133
997
  rcspString: (color?: string) => string;
1134
- setUnit: (unit: Tile, isMeep?: boolean) => void;
998
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
1135
999
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
1136
1000
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
1137
1001
  x: number;
@@ -1184,19 +1048,19 @@ export declare class Table extends Dispatcher {
1184
1048
  isLegal: boolean;
1185
1049
  initCont: (row: number, col: number) => void;
1186
1050
  reCache: (scale?: number) => void;
1187
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
1051
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
1188
1052
  setHexColor: (color: string, district?: number | undefined) => void;
1189
1053
  metricDist: (hex: Hex) => number;
1190
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;
1191
1055
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
1192
1056
  _tile: import("./tile").MapTile | undefined;
1193
1057
  tile: Tile | undefined;
1194
- _meep: import("./meeple").Meeple | undefined;
1195
- meep: import("./meeple").Meeple | undefined;
1196
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
1058
+ _meep: Tile | undefined;
1059
+ meep: Tile | undefined;
1060
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
1197
1061
  toString: (color?: string) => string;
1198
1062
  rcspString: (color?: string) => string;
1199
- setUnit: (unit: Tile, isMeep?: boolean) => void;
1063
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
1200
1064
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
1201
1065
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
1202
1066
  x: number;
@@ -1257,7 +1121,7 @@ export declare class Table extends Dispatcher {
1257
1121
  readonly implementsIHex2: true;
1258
1122
  readonly cont: import("./hex").HexCont;
1259
1123
  readonly radius: number;
1260
- readonly hexShape: HexShape;
1124
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
1261
1125
  readonly mapCont: import("./hex").MapCont;
1262
1126
  readonly markCont: Container;
1263
1127
  x: number;
@@ -1272,7 +1136,7 @@ export declare class Table extends Dispatcher {
1272
1136
  readonly implementsIHex2: true;
1273
1137
  readonly cont: import("./hex").HexCont;
1274
1138
  readonly radius: number;
1275
- readonly hexShape: HexShape;
1139
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
1276
1140
  readonly mapCont: import("./hex").MapCont;
1277
1141
  readonly markCont: Container;
1278
1142
  x: number;
@@ -1292,19 +1156,19 @@ export declare class Table extends Dispatcher {
1292
1156
  isLegal: boolean;
1293
1157
  initCont: (row: number, col: number) => void;
1294
1158
  reCache: (scale?: number) => void;
1295
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
1159
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
1296
1160
  setHexColor: (color: string, district?: number | undefined) => void;
1297
1161
  metricDist: (hex: Hex) => number;
1298
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;
1299
1163
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
1300
1164
  _tile: import("./tile").MapTile | undefined;
1301
1165
  tile: Tile | undefined;
1302
- _meep: import("./meeple").Meeple | undefined;
1303
- meep: import("./meeple").Meeple | undefined;
1304
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
1166
+ _meep: Tile | undefined;
1167
+ meep: Tile | undefined;
1168
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
1305
1169
  toString: (color?: string) => string;
1306
1170
  rcspString: (color?: string) => string;
1307
- setUnit: (unit: Tile, isMeep?: boolean) => void;
1171
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
1308
1172
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
1309
1173
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
1310
1174
  x: number;
@@ -1357,19 +1221,19 @@ export declare class Table extends Dispatcher {
1357
1221
  isLegal: boolean;
1358
1222
  initCont: (row: number, col: number) => void;
1359
1223
  reCache: (scale?: number) => void;
1360
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
1224
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
1361
1225
  setHexColor: (color: string, district?: number | undefined) => void;
1362
1226
  metricDist: (hex: Hex) => number;
1363
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;
1364
1228
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
1365
1229
  _tile: import("./tile").MapTile | undefined;
1366
1230
  tile: Tile | undefined;
1367
- _meep: import("./meeple").Meeple | undefined;
1368
- meep: import("./meeple").Meeple | undefined;
1369
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
1231
+ _meep: Tile | undefined;
1232
+ meep: Tile | undefined;
1233
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
1370
1234
  toString: (color?: string) => string;
1371
1235
  rcspString: (color?: string) => string;
1372
- setUnit: (unit: Tile, isMeep?: boolean) => void;
1236
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
1373
1237
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
1374
1238
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
1375
1239
  x: number;
@@ -1446,7 +1310,7 @@ export declare class Table extends Dispatcher {
1446
1310
  readonly implementsIHex2: true;
1447
1311
  readonly cont: import("./hex").HexCont;
1448
1312
  readonly radius: number;
1449
- readonly hexShape: HexShape;
1313
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
1450
1314
  readonly mapCont: import("./hex").MapCont;
1451
1315
  readonly markCont: Container;
1452
1316
  x: number;
@@ -1461,7 +1325,7 @@ export declare class Table extends Dispatcher {
1461
1325
  readonly implementsIHex2: true;
1462
1326
  readonly cont: import("./hex").HexCont;
1463
1327
  readonly radius: number;
1464
- readonly hexShape: HexShape;
1328
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
1465
1329
  readonly mapCont: import("./hex").MapCont;
1466
1330
  readonly markCont: Container;
1467
1331
  x: number;
@@ -1481,19 +1345,19 @@ export declare class Table extends Dispatcher {
1481
1345
  isLegal: boolean;
1482
1346
  initCont: (row: number, col: number) => void;
1483
1347
  reCache: (scale?: number) => void;
1484
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
1348
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
1485
1349
  setHexColor: (color: string, district?: number | undefined) => void;
1486
1350
  metricDist: (hex: Hex) => number;
1487
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;
1488
1352
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
1489
1353
  _tile: import("./tile").MapTile | undefined;
1490
1354
  tile: Tile | undefined;
1491
- _meep: import("./meeple").Meeple | undefined;
1492
- meep: import("./meeple").Meeple | undefined;
1493
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
1355
+ _meep: Tile | undefined;
1356
+ meep: Tile | undefined;
1357
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
1494
1358
  toString: (color?: string) => string;
1495
1359
  rcspString: (color?: string) => string;
1496
- setUnit: (unit: Tile, isMeep?: boolean) => void;
1360
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
1497
1361
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
1498
1362
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
1499
1363
  x: number;
@@ -1546,19 +1410,19 @@ export declare class Table extends Dispatcher {
1546
1410
  isLegal: boolean;
1547
1411
  initCont: (row: number, col: number) => void;
1548
1412
  reCache: (scale?: number) => void;
1549
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
1413
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
1550
1414
  setHexColor: (color: string, district?: number | undefined) => void;
1551
1415
  metricDist: (hex: Hex) => number;
1552
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;
1553
1417
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
1554
1418
  _tile: import("./tile").MapTile | undefined;
1555
1419
  tile: Tile | undefined;
1556
- _meep: import("./meeple").Meeple | undefined;
1557
- meep: import("./meeple").Meeple | undefined;
1558
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
1420
+ _meep: Tile | undefined;
1421
+ meep: Tile | undefined;
1422
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
1559
1423
  toString: (color?: string) => string;
1560
1424
  rcspString: (color?: string) => string;
1561
- setUnit: (unit: Tile, isMeep?: boolean) => void;
1425
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
1562
1426
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
1563
1427
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
1564
1428
  x: number;
@@ -1616,7 +1480,7 @@ export declare class Table extends Dispatcher {
1616
1480
  readonly implementsIHex2: true;
1617
1481
  readonly cont: import("./hex").HexCont;
1618
1482
  readonly radius: number;
1619
- readonly hexShape: HexShape;
1483
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
1620
1484
  readonly mapCont: import("./hex").MapCont;
1621
1485
  readonly markCont: Container;
1622
1486
  x: number;
@@ -1631,7 +1495,7 @@ export declare class Table extends Dispatcher {
1631
1495
  readonly implementsIHex2: true;
1632
1496
  readonly cont: import("./hex").HexCont;
1633
1497
  readonly radius: number;
1634
- readonly hexShape: HexShape;
1498
+ readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
1635
1499
  readonly mapCont: import("./hex").MapCont;
1636
1500
  readonly markCont: Container;
1637
1501
  x: number;
@@ -1651,19 +1515,19 @@ export declare class Table extends Dispatcher {
1651
1515
  isLegal: boolean;
1652
1516
  initCont: (row: number, col: number) => void;
1653
1517
  reCache: (scale?: number) => void;
1654
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
1518
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
1655
1519
  setHexColor: (color: string, district?: number | undefined) => void;
1656
1520
  metricDist: (hex: Hex) => number;
1657
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;
1658
1522
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
1659
1523
  _tile: import("./tile").MapTile | undefined;
1660
1524
  tile: Tile | undefined;
1661
- _meep: import("./meeple").Meeple | undefined;
1662
- meep: import("./meeple").Meeple | undefined;
1663
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
1525
+ _meep: Tile | undefined;
1526
+ meep: Tile | undefined;
1527
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
1664
1528
  toString: (color?: string) => string;
1665
1529
  rcspString: (color?: string) => string;
1666
- setUnit: (unit: Tile, isMeep?: boolean) => void;
1530
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
1667
1531
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
1668
1532
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
1669
1533
  x: number;
@@ -1716,19 +1580,19 @@ export declare class Table extends Dispatcher {
1716
1580
  isLegal: boolean;
1717
1581
  initCont: (row: number, col: number) => void;
1718
1582
  reCache: (scale?: number) => void;
1719
- makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
1583
+ makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
1720
1584
  setHexColor: (color: string, district?: number | undefined) => void;
1721
1585
  metricDist: (hex: Hex) => number;
1722
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;
1723
1587
  edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
1724
1588
  _tile: import("./tile").MapTile | undefined;
1725
1589
  tile: Tile | undefined;
1726
- _meep: import("./meeple").Meeple | undefined;
1727
- meep: import("./meeple").Meeple | undefined;
1728
- readonly occupied: [Tile | undefined, import("./meeple").Meeple | undefined] | undefined;
1590
+ _meep: Tile | undefined;
1591
+ meep: Tile | undefined;
1592
+ readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
1729
1593
  toString: (color?: string) => string;
1730
1594
  rcspString: (color?: string) => string;
1731
- setUnit: (unit: Tile, isMeep?: boolean) => void;
1595
+ setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
1732
1596
  unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
1733
1597
  xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
1734
1598
  x: number;