@thegraid/hexlib 1.3.6 → 1.3.7

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
@@ -27,12 +27,19 @@ export interface DragContext {
27
27
  info: DragInfo;
28
28
  tile?: Tile;
29
29
  nLegal: number;
30
- gameState?: GameState;
30
+ gameState: GameState;
31
31
  phase?: string;
32
32
  }
33
33
  declare class TextLog extends NamedContainer {
34
34
  size: number;
35
35
  lead: number;
36
+ /**
37
+ *
38
+ * @param Aname
39
+ * @param nlines
40
+ * @param size fontSize [TP.hexRad/2]
41
+ * @param lead between lines [3]
42
+ */
36
43
  constructor(Aname: string, nlines?: number, size?: number, lead?: number);
37
44
  lines: Text[];
38
45
  lastLine: string;
@@ -59,6 +66,7 @@ export declare class Table extends Dispatcher {
59
66
  netGUI: ParamGUI;
60
67
  /** initial visibility for toggleText */
61
68
  initialVis: boolean;
69
+ sr(v?: number): number;
62
70
  undoCont: Container;
63
71
  undoShape: Shape;
64
72
  skipShape: Shape;
@@ -210,10 +218,10 @@ export declare class Table extends Dispatcher {
210
218
  readonly map: HexM<Hex>;
211
219
  readonly row: number;
212
220
  readonly col: number;
213
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
214
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
221
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
222
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
215
223
  readonly linkDirs: import("./hex-intfs").HexDir[];
216
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
224
+ readonly linkHexes: import("./hex").Hex2[];
217
225
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
218
226
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
219
227
  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;
@@ -275,10 +283,10 @@ export declare class Table extends Dispatcher {
275
283
  readonly map: HexM<Hex>;
276
284
  readonly row: number;
277
285
  readonly col: number;
278
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
279
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
286
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
287
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
280
288
  readonly linkDirs: import("./hex-intfs").HexDir[];
281
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
289
+ readonly linkHexes: import("./hex").Hex2[];
282
290
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
283
291
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
284
292
  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;
@@ -372,10 +380,10 @@ export declare class Table extends Dispatcher {
372
380
  readonly map: HexM<Hex>;
373
381
  readonly row: number;
374
382
  readonly col: number;
375
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
376
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
383
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
384
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
377
385
  readonly linkDirs: import("./hex-intfs").HexDir[];
378
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
386
+ readonly linkHexes: import("./hex").Hex2[];
379
387
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
380
388
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
381
389
  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;
@@ -437,10 +445,10 @@ export declare class Table extends Dispatcher {
437
445
  readonly map: HexM<Hex>;
438
446
  readonly row: number;
439
447
  readonly col: number;
440
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
441
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
448
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
449
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
442
450
  readonly linkDirs: import("./hex-intfs").HexDir[];
443
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
451
+ readonly linkHexes: import("./hex").Hex2[];
444
452
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
445
453
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
446
454
  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;
@@ -452,12 +460,12 @@ export declare class Table extends Dispatcher {
452
460
  };
453
461
  /**
454
462
  * all number in units of dxdc or dydr
455
- * @param x0 frame left; relative to scaleCont (offset from bgRect to hexCont)
456
- * @param y0 frame top; relative to scaleCont
457
- * @param w0 pad width; width of bgRect, beyond hexCont, centered on hexCont
458
- * @param h0 pad height; height of bgRect, beyond hexCont, centered on hexCont
459
- * @param dw extend bgRect to the right, not centered
460
- * @param dh extend bgRect to the bottom, not centered
463
+ * @param x0 frame left [-1]; relative to scaleCont (offset from bgRect to hexCont)
464
+ * @param y0 frame top [.5]; relative to scaleCont
465
+ * @param w0 pad width [10]; width of bgRect, beyond hexCont, centered on hexCont
466
+ * @param h0 pad height [1]; height of bgRect, beyond hexCont, centered on hexCont
467
+ * @param dw extend bgRect to the right, not centered [0]
468
+ * @param dh extend bgRect to the bottom, not centered [0]
461
469
  * @returns XYWH of a rectangle around mapCont hexMap
462
470
  */
463
471
  bgXYWH(x0?: number, y0?: number, w0?: number, h0?: number, dw?: number, dh?: number): {
@@ -499,7 +507,7 @@ export declare class Table extends Dispatcher {
499
507
  * makeParamGUI2(parent) -> gui2.ymax
500
508
  */
501
509
  makeGUIs(scale?: number, cx?: number, cy?: number, dy?: number): void;
502
- /** height allocated for PlayerPanel scaled in hex height [map.rows/3-.2] */
510
+ /** height allocated for PlayerPanel scaled in row height [map.rows/3-.2] */
503
511
  get panelHeight(): number;
504
512
  /** width of PlayerPanel, scaled in hex width [4.5] */
505
513
  get panelWidth(): number;
@@ -652,10 +660,10 @@ export declare class Table extends Dispatcher {
652
660
  readonly map: HexM<Hex>;
653
661
  readonly row: number;
654
662
  readonly col: number;
655
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
656
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
663
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
664
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
657
665
  readonly linkDirs: import("./hex-intfs").HexDir[];
658
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
666
+ readonly linkHexes: import("./hex").Hex2[];
659
667
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
660
668
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
661
669
  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;
@@ -717,10 +725,10 @@ export declare class Table extends Dispatcher {
717
725
  readonly map: HexM<Hex>;
718
726
  readonly row: number;
719
727
  readonly col: number;
720
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
721
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
728
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
729
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
722
730
  readonly linkDirs: import("./hex-intfs").HexDir[];
723
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
731
+ readonly linkHexes: import("./hex").Hex2[];
724
732
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
725
733
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
726
734
  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;
@@ -730,10 +738,6 @@ export declare class Table extends Dispatcher {
730
738
  lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
731
739
  radialDist: (hex: Hex) => number;
732
740
  }[];
733
- /** @deprecated use UtilButton (change cgf on RectShape) [legacy from Ankh] */
734
- makeCircleButton(color?: string, rad?: number, c?: string, fs?: number): Container;
735
- /** @deprecated use UtilButton [from Ankh] */
736
- makeSquareButton(color: string | undefined, xywh: XYWH, c?: string, fs?: number): Container;
737
741
  /**
738
742
  * A newHex2 with the 'Recycle' image on top. [legacy from hextowns]
739
743
  *
@@ -827,10 +831,10 @@ export declare class Table extends Dispatcher {
827
831
  readonly map: HexM<Hex>;
828
832
  readonly row: number;
829
833
  readonly col: number;
830
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
831
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
834
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
835
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
832
836
  readonly linkDirs: import("./hex-intfs").HexDir[];
833
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
837
+ readonly linkHexes: import("./hex").Hex2[];
834
838
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
835
839
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
836
840
  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;
@@ -892,10 +896,10 @@ export declare class Table extends Dispatcher {
892
896
  readonly map: HexM<Hex>;
893
897
  readonly row: number;
894
898
  readonly col: number;
895
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
896
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
899
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
900
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
897
901
  readonly linkDirs: import("./hex-intfs").HexDir[];
898
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
902
+ readonly linkHexes: import("./hex").Hex2[];
899
903
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
900
904
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
901
905
  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;
@@ -907,9 +911,9 @@ export declare class Table extends Dispatcher {
907
911
  };
908
912
  /** Params that affect the rules of the game & board
909
913
  *
910
- * ParamGUI --> board & rules [under stats panel]
911
- * ParamGUI2 --> AI Player [left of ParamGUI]
912
- * NetworkGUI --> network [below ParamGUI2]
914
+ * ParamGUI --> board & rules []
915
+ * ParamGUI2 --> AI Player []
916
+ * NetworkGUI --> network []
913
917
  */
914
918
  makeParamGUI(parent: Container, x?: number, y?: number): ParamGUI;
915
919
  /** configures the AI player */
@@ -922,14 +926,18 @@ export declare class Table extends Dispatcher {
922
926
  doneButton: UtilButton;
923
927
  doneClicked: (evt?: any) => void;
924
928
  /**
925
- * May be contained or placed with ActionSelection buttons.
929
+ * add DoneButton to the given panel/Container.
930
+ *
931
+ * May be contained or placed with ActionSelection buttons [ankh].
932
+ *
933
+ * textColor is BLACK or WHITE to contrast with paint(color)
926
934
  * @param cont [scaleCont] a Container to hold the DoneButton
927
935
  * @param cx [0] offset in Container (to 'center', 'left', 'right' per align)
928
936
  * @param cy [0] offset in Container (to top of text box)
929
- * @param align ['center'] left or right
930
- * @returns actionCont
937
+ * @param align ['center'] 'left' or 'right' for textAlign
938
+ * @returns this.doneButton
931
939
  */
932
- addDoneButton(cont?: Container, cx?: number, cy?: number, align?: string): Container;
940
+ addDoneButton(cont?: Container, cx?: number, cy?: number, align?: string): UtilButton;
933
941
  /** show player player score on table */
934
942
  setPlayerScore(plyr: Player, score?: number, rank?: number): void;
935
943
  /** update table when a new Game is started.
@@ -1027,10 +1035,10 @@ export declare class Table extends Dispatcher {
1027
1035
  readonly map: HexM<Hex>;
1028
1036
  readonly row: number;
1029
1037
  readonly col: number;
1030
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
1031
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
1038
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1039
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1032
1040
  readonly linkDirs: import("./hex-intfs").HexDir[];
1033
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
1041
+ readonly linkHexes: import("./hex").Hex2[];
1034
1042
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
1035
1043
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
1036
1044
  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;
@@ -1092,10 +1100,10 @@ export declare class Table extends Dispatcher {
1092
1100
  readonly map: HexM<Hex>;
1093
1101
  readonly row: number;
1094
1102
  readonly col: number;
1095
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
1096
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
1103
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1104
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1097
1105
  readonly linkDirs: import("./hex-intfs").HexDir[];
1098
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
1106
+ readonly linkHexes: import("./hex").Hex2[];
1099
1107
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
1100
1108
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
1101
1109
  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;
@@ -1200,10 +1208,10 @@ export declare class Table extends Dispatcher {
1200
1208
  readonly map: HexM<Hex>;
1201
1209
  readonly row: number;
1202
1210
  readonly col: number;
1203
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
1204
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
1211
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1212
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1205
1213
  readonly linkDirs: import("./hex-intfs").HexDir[];
1206
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
1214
+ readonly linkHexes: import("./hex").Hex2[];
1207
1215
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
1208
1216
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
1209
1217
  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;
@@ -1265,10 +1273,10 @@ export declare class Table extends Dispatcher {
1265
1273
  readonly map: HexM<Hex>;
1266
1274
  readonly row: number;
1267
1275
  readonly col: number;
1268
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
1269
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
1276
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1277
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1270
1278
  readonly linkDirs: import("./hex-intfs").HexDir[];
1271
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
1279
+ readonly linkHexes: import("./hex").Hex2[];
1272
1280
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
1273
1281
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
1274
1282
  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;
@@ -1389,10 +1397,10 @@ export declare class Table extends Dispatcher {
1389
1397
  readonly map: HexM<Hex>;
1390
1398
  readonly row: number;
1391
1399
  readonly col: number;
1392
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
1393
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
1400
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1401
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1394
1402
  readonly linkDirs: import("./hex-intfs").HexDir[];
1395
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
1403
+ readonly linkHexes: import("./hex").Hex2[];
1396
1404
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
1397
1405
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
1398
1406
  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;
@@ -1454,10 +1462,10 @@ export declare class Table extends Dispatcher {
1454
1462
  readonly map: HexM<Hex>;
1455
1463
  readonly row: number;
1456
1464
  readonly col: number;
1457
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
1458
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
1465
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1466
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1459
1467
  readonly linkDirs: import("./hex-intfs").HexDir[];
1460
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
1468
+ readonly linkHexes: import("./hex").Hex2[];
1461
1469
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
1462
1470
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
1463
1471
  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;
@@ -1559,10 +1567,10 @@ export declare class Table extends Dispatcher {
1559
1567
  readonly map: HexM<Hex>;
1560
1568
  readonly row: number;
1561
1569
  readonly col: number;
1562
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
1563
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
1570
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1571
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1564
1572
  readonly linkDirs: import("./hex-intfs").HexDir[];
1565
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
1573
+ readonly linkHexes: import("./hex").Hex2[];
1566
1574
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
1567
1575
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
1568
1576
  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;
@@ -1624,10 +1632,10 @@ export declare class Table extends Dispatcher {
1624
1632
  readonly map: HexM<Hex>;
1625
1633
  readonly row: number;
1626
1634
  readonly col: number;
1627
- readonly links: import("./hex").LINKS<import("./hex").Hex2>;
1628
- metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
1635
+ readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1636
+ metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
1629
1637
  readonly linkDirs: import("./hex-intfs").HexDir[];
1630
- readonly linkHexes: (import("./hex").Hex2 | undefined)[];
1638
+ readonly linkHexes: import("./hex").Hex2[];
1631
1639
  forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
1632
1640
  findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
1633
1641
  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;
@@ -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,WAA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