@thegraid/hexlib 1.3.1 → 1.3.4
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/game-setup.js +1 -1
- package/dist/game-setup.js.map +1 -1
- package/dist/hex.d.ts +12 -5
- package/dist/hex.d.ts.map +1 -1
- package/dist/hex.js +28 -16
- package/dist/hex.js.map +1 -1
- package/dist/table.d.ts +384 -14
- package/dist/table.d.ts.map +1 -1
- package/dist/table.js +57 -13
- package/dist/table.js.map +1 -1
- package/dist/tile.d.ts +23 -3
- package/dist/tile.d.ts.map +1 -1
- package/dist/tile.js +28 -11
- package/dist/tile.js.map +1 -1
- package/package.json +3 -3
package/dist/table.d.ts
CHANGED
|
@@ -150,9 +150,11 @@ export declare class Table extends Dispatcher {
|
|
|
150
150
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
151
151
|
setDistText: (dText?: string, size?: number) => void;
|
|
152
152
|
showText: (vis?: boolean) => void;
|
|
153
|
-
|
|
153
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
154
|
+
legalMark: import("./hex").LegalMark;
|
|
154
155
|
isLegal: boolean;
|
|
155
156
|
initCont: (row: number, col: number) => void;
|
|
157
|
+
reCache: (scale?: number) => void;
|
|
156
158
|
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
157
159
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
158
160
|
metricDist: (hex: Hex) => number;
|
|
@@ -213,9 +215,11 @@ export declare class Table extends Dispatcher {
|
|
|
213
215
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
214
216
|
setDistText: (dText?: string, size?: number) => void;
|
|
215
217
|
showText: (vis?: boolean) => void;
|
|
216
|
-
|
|
218
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
219
|
+
legalMark: import("./hex").LegalMark;
|
|
217
220
|
isLegal: boolean;
|
|
218
221
|
initCont: (row: number, col: number) => void;
|
|
222
|
+
reCache: (scale?: number) => void;
|
|
219
223
|
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
220
224
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
221
225
|
metricDist: (hex: Hex) => number;
|
|
@@ -310,9 +314,11 @@ export declare class Table extends Dispatcher {
|
|
|
310
314
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
311
315
|
setDistText: (dText?: string, size?: number) => void;
|
|
312
316
|
showText: (vis?: boolean) => void;
|
|
313
|
-
|
|
317
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
318
|
+
legalMark: import("./hex").LegalMark;
|
|
314
319
|
isLegal: boolean;
|
|
315
320
|
initCont: (row: number, col: number) => void;
|
|
321
|
+
reCache: (scale?: number) => void;
|
|
316
322
|
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
317
323
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
318
324
|
metricDist: (hex: Hex) => number;
|
|
@@ -373,9 +379,11 @@ export declare class Table extends Dispatcher {
|
|
|
373
379
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
374
380
|
setDistText: (dText?: string, size?: number) => void;
|
|
375
381
|
showText: (vis?: boolean) => void;
|
|
376
|
-
|
|
382
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
383
|
+
legalMark: import("./hex").LegalMark;
|
|
377
384
|
isLegal: boolean;
|
|
378
385
|
initCont: (row: number, col: number) => void;
|
|
386
|
+
reCache: (scale?: number) => void;
|
|
379
387
|
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
380
388
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
381
389
|
metricDist: (hex: Hex) => number;
|
|
@@ -532,6 +540,341 @@ export declare class Table extends Dispatcher {
|
|
|
532
540
|
setToRowCol(cont: Container, row?: number, col?: number, hexCont?: Container): void;
|
|
533
541
|
/** display source [and legalMark] on given hex [Ankh] */
|
|
534
542
|
sourceOnHex(source: TileSource<Tile>, hex: IHex2): void;
|
|
543
|
+
/**
|
|
544
|
+
* Make a row of hexC that appear above panel at [row0, 0] (but are not children of panel)
|
|
545
|
+
* Suitable for Tile.makeSource0(...,)
|
|
546
|
+
*
|
|
547
|
+
* The row is centered across the width of panel (based on getBounds().width)
|
|
548
|
+
*
|
|
549
|
+
* Sets hex.visible = false;
|
|
550
|
+
* @param panel offset new Hexes to appear above given Container
|
|
551
|
+
* @param row0 [.75] offset in y direction
|
|
552
|
+
* @param colN [4] number of Hex to create
|
|
553
|
+
* @param hexC [this.hexC]
|
|
554
|
+
* @param vis [false] initial visiblity
|
|
555
|
+
* @returns hexC[] with each hex.cont.xy offset to appear over panel
|
|
556
|
+
*/
|
|
557
|
+
hexesOnPanel(panel: Container, row0?: number, colN?: number, hexC?: Constructor<{
|
|
558
|
+
readonly implementsIHex2: true;
|
|
559
|
+
readonly cont: import("./hex").HexCont;
|
|
560
|
+
readonly radius: number;
|
|
561
|
+
readonly hexShape: HexShape;
|
|
562
|
+
readonly mapCont: import("./hex").MapCont;
|
|
563
|
+
readonly markCont: Container;
|
|
564
|
+
x: number;
|
|
565
|
+
y: number;
|
|
566
|
+
readonly scaleX: number;
|
|
567
|
+
readonly scaleY: number;
|
|
568
|
+
district: number | undefined;
|
|
569
|
+
distColor: string;
|
|
570
|
+
distText: Text;
|
|
571
|
+
rcText: Text;
|
|
572
|
+
constructorCode: (map: HexM<{
|
|
573
|
+
readonly implementsIHex2: true;
|
|
574
|
+
readonly cont: import("./hex").HexCont;
|
|
575
|
+
readonly radius: number;
|
|
576
|
+
readonly hexShape: HexShape;
|
|
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: any;
|
|
588
|
+
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
589
|
+
setDistText: (dText?: string, size?: number) => void;
|
|
590
|
+
showText: (vis?: boolean) => void;
|
|
591
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
592
|
+
legalMark: import("./hex").LegalMark;
|
|
593
|
+
isLegal: boolean;
|
|
594
|
+
initCont: (row: number, col: number) => void;
|
|
595
|
+
reCache: (scale?: number) => void;
|
|
596
|
+
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
597
|
+
setHexColor: (color: string, district?: number | undefined) => void;
|
|
598
|
+
metricDist: (hex: Hex) => number;
|
|
599
|
+
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
|
+
edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
|
|
601
|
+
_tile: import("./tile").MapTile | undefined;
|
|
602
|
+
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;
|
|
606
|
+
toString: (color?: string) => string;
|
|
607
|
+
rcspString: (color?: string) => string;
|
|
608
|
+
setUnit: (unit: Tile, isMeep?: boolean) => void;
|
|
609
|
+
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
610
|
+
xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
|
|
611
|
+
x: number;
|
|
612
|
+
y: number;
|
|
613
|
+
w: number;
|
|
614
|
+
h: number;
|
|
615
|
+
dxdc: number;
|
|
616
|
+
dydr: number;
|
|
617
|
+
};
|
|
618
|
+
readonly xywh0: {
|
|
619
|
+
x: number;
|
|
620
|
+
y: number;
|
|
621
|
+
w: number;
|
|
622
|
+
h: number;
|
|
623
|
+
dxdc: number;
|
|
624
|
+
dydr: number;
|
|
625
|
+
};
|
|
626
|
+
Aname: string;
|
|
627
|
+
readonly iHex: IdHex;
|
|
628
|
+
readonly rcs: string;
|
|
629
|
+
readonly rowsp: string;
|
|
630
|
+
readonly colsp: string;
|
|
631
|
+
readonly rcsp: string;
|
|
632
|
+
readonly rc_linear: number;
|
|
633
|
+
_rcLinear?: number | undefined;
|
|
634
|
+
_district: number | undefined;
|
|
635
|
+
readonly isOnMap: boolean;
|
|
636
|
+
_isLegal: boolean;
|
|
637
|
+
readonly map: HexM<Hex>;
|
|
638
|
+
readonly row: number;
|
|
639
|
+
readonly col: number;
|
|
640
|
+
readonly links: import("./hex").LINKS<import("./hex").Hex2>;
|
|
641
|
+
metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
|
|
642
|
+
readonly linkDirs: import("./hex-intfs").HexDir[];
|
|
643
|
+
readonly linkHexes: (import("./hex").Hex2 | undefined)[];
|
|
644
|
+
forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
|
|
645
|
+
findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
|
|
646
|
+
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;
|
|
647
|
+
hexesInDir: (dir: import("./hex-intfs").HexDir, rv?: import("./hex").Hex2[]) => import("./hex").Hex2[];
|
|
648
|
+
forEachHexDir: (func: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => unknown) => void;
|
|
649
|
+
nextHex: (dir: import("./hex-intfs").HexDir, ns?: number) => import("./hex").Hex2 | undefined;
|
|
650
|
+
lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
|
|
651
|
+
radialDist: (hex: Hex) => number;
|
|
652
|
+
}>, row: number, col: number, dText?: string) => void;
|
|
653
|
+
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
654
|
+
setDistText: (dText?: string, size?: number) => void;
|
|
655
|
+
showText: (vis?: boolean) => void;
|
|
656
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
657
|
+
legalMark: import("./hex").LegalMark;
|
|
658
|
+
isLegal: boolean;
|
|
659
|
+
initCont: (row: number, col: number) => void;
|
|
660
|
+
reCache: (scale?: number) => void;
|
|
661
|
+
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
662
|
+
setHexColor: (color: string, district?: number | undefined) => void;
|
|
663
|
+
metricDist: (hex: Hex) => number;
|
|
664
|
+
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
|
+
edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
|
|
666
|
+
_tile: import("./tile").MapTile | undefined;
|
|
667
|
+
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;
|
|
671
|
+
toString: (color?: string) => string;
|
|
672
|
+
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;
|
|
834
|
+
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
835
|
+
xywh: (radius?: number, ewTopo?: boolean, row?: number, col?: number) => {
|
|
836
|
+
x: number;
|
|
837
|
+
y: number;
|
|
838
|
+
w: number;
|
|
839
|
+
h: number;
|
|
840
|
+
dxdc: number;
|
|
841
|
+
dydr: number;
|
|
842
|
+
};
|
|
843
|
+
readonly xywh0: {
|
|
844
|
+
x: number;
|
|
845
|
+
y: number;
|
|
846
|
+
w: number;
|
|
847
|
+
h: number;
|
|
848
|
+
dxdc: number;
|
|
849
|
+
dydr: number;
|
|
850
|
+
};
|
|
851
|
+
Aname: string;
|
|
852
|
+
readonly iHex: IdHex;
|
|
853
|
+
readonly rcs: string;
|
|
854
|
+
readonly rowsp: string;
|
|
855
|
+
readonly colsp: string;
|
|
856
|
+
readonly rcsp: string;
|
|
857
|
+
readonly rc_linear: number;
|
|
858
|
+
_rcLinear?: number | undefined;
|
|
859
|
+
_district: number | undefined;
|
|
860
|
+
readonly isOnMap: boolean;
|
|
861
|
+
_isLegal: boolean;
|
|
862
|
+
readonly map: HexM<Hex>;
|
|
863
|
+
readonly row: number;
|
|
864
|
+
readonly col: number;
|
|
865
|
+
readonly links: import("./hex").LINKS<import("./hex").Hex2>;
|
|
866
|
+
metaLinks: import("./hex").LINKS<import("./hex").Hex2>;
|
|
867
|
+
readonly linkDirs: import("./hex-intfs").HexDir[];
|
|
868
|
+
readonly linkHexes: (import("./hex").Hex2 | undefined)[];
|
|
869
|
+
forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
|
|
870
|
+
findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
|
|
871
|
+
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;
|
|
872
|
+
hexesInDir: (dir: import("./hex-intfs").HexDir, rv?: import("./hex").Hex2[]) => import("./hex").Hex2[];
|
|
873
|
+
forEachHexDir: (func: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => unknown) => void;
|
|
874
|
+
nextHex: (dir: import("./hex-intfs").HexDir, ns?: number) => import("./hex").Hex2 | undefined;
|
|
875
|
+
lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
|
|
876
|
+
radialDist: (hex: Hex) => number;
|
|
877
|
+
}[];
|
|
535
878
|
/** @deprecated use UtilButton (change cgf on RectShape) [legacy from Ankh] */
|
|
536
879
|
makeCircleButton(color?: string, rad?: number, c?: string, fs?: number): Container;
|
|
537
880
|
/** @deprecated use UtilButton [from Ankh] */
|
|
@@ -571,9 +914,11 @@ export declare class Table extends Dispatcher {
|
|
|
571
914
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
572
915
|
setDistText: (dText?: string, size?: number) => void;
|
|
573
916
|
showText: (vis?: boolean) => void;
|
|
574
|
-
|
|
917
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
918
|
+
legalMark: import("./hex").LegalMark;
|
|
575
919
|
isLegal: boolean;
|
|
576
920
|
initCont: (row: number, col: number) => void;
|
|
921
|
+
reCache: (scale?: number) => void;
|
|
577
922
|
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
578
923
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
579
924
|
metricDist: (hex: Hex) => number;
|
|
@@ -634,9 +979,11 @@ export declare class Table extends Dispatcher {
|
|
|
634
979
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
635
980
|
setDistText: (dText?: string, size?: number) => void;
|
|
636
981
|
showText: (vis?: boolean) => void;
|
|
637
|
-
|
|
982
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
983
|
+
legalMark: import("./hex").LegalMark;
|
|
638
984
|
isLegal: boolean;
|
|
639
985
|
initCont: (row: number, col: number) => void;
|
|
986
|
+
reCache: (scale?: number) => void;
|
|
640
987
|
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
641
988
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
642
989
|
metricDist: (hex: Hex) => number;
|
|
@@ -767,9 +1114,11 @@ export declare class Table extends Dispatcher {
|
|
|
767
1114
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
768
1115
|
setDistText: (dText?: string, size?: number) => void;
|
|
769
1116
|
showText: (vis?: boolean) => void;
|
|
770
|
-
|
|
1117
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
1118
|
+
legalMark: import("./hex").LegalMark;
|
|
771
1119
|
isLegal: boolean;
|
|
772
1120
|
initCont: (row: number, col: number) => void;
|
|
1121
|
+
reCache: (scale?: number) => void;
|
|
773
1122
|
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
774
1123
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
775
1124
|
metricDist: (hex: Hex) => number;
|
|
@@ -830,9 +1179,11 @@ export declare class Table extends Dispatcher {
|
|
|
830
1179
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
831
1180
|
setDistText: (dText?: string, size?: number) => void;
|
|
832
1181
|
showText: (vis?: boolean) => void;
|
|
833
|
-
|
|
1182
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
1183
|
+
legalMark: import("./hex").LegalMark;
|
|
834
1184
|
isLegal: boolean;
|
|
835
1185
|
initCont: (row: number, col: number) => void;
|
|
1186
|
+
reCache: (scale?: number) => void;
|
|
836
1187
|
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
837
1188
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
838
1189
|
metricDist: (hex: Hex) => number;
|
|
@@ -936,9 +1287,11 @@ export declare class Table extends Dispatcher {
|
|
|
936
1287
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
937
1288
|
setDistText: (dText?: string, size?: number) => void;
|
|
938
1289
|
showText: (vis?: boolean) => void;
|
|
939
|
-
|
|
1290
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
1291
|
+
legalMark: import("./hex").LegalMark;
|
|
940
1292
|
isLegal: boolean;
|
|
941
1293
|
initCont: (row: number, col: number) => void;
|
|
1294
|
+
reCache: (scale?: number) => void;
|
|
942
1295
|
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
943
1296
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
944
1297
|
metricDist: (hex: Hex) => number;
|
|
@@ -999,9 +1352,11 @@ export declare class Table extends Dispatcher {
|
|
|
999
1352
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
1000
1353
|
setDistText: (dText?: string, size?: number) => void;
|
|
1001
1354
|
showText: (vis?: boolean) => void;
|
|
1002
|
-
|
|
1355
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
1356
|
+
legalMark: import("./hex").LegalMark;
|
|
1003
1357
|
isLegal: boolean;
|
|
1004
1358
|
initCont: (row: number, col: number) => void;
|
|
1359
|
+
reCache: (scale?: number) => void;
|
|
1005
1360
|
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
1006
1361
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
1007
1362
|
metricDist: (hex: Hex) => number;
|
|
@@ -1077,6 +1432,13 @@ export declare class Table extends Dispatcher {
|
|
|
1077
1432
|
* @param ctx DragContext with shift/ctrl from table.dragFunc0()
|
|
1078
1433
|
*/
|
|
1079
1434
|
dragStart(tile: Tile, ctx: DragContext): void;
|
|
1435
|
+
/** invoked during dragStart(tile, ctx)
|
|
1436
|
+
*
|
|
1437
|
+
* set hex.isLegal = v ==> hex.legalMark.visible = v
|
|
1438
|
+
*
|
|
1439
|
+
* @return number of hexes marked as legal
|
|
1440
|
+
*/
|
|
1441
|
+
markLegalHexes(tile: Tile, ctx: DragContext): number;
|
|
1080
1442
|
/** state of shiftKey has changed during drag. call tile.dragShift(). */
|
|
1081
1443
|
dragShift(tile: Tile | undefined, shiftKey: boolean | undefined, ctx: DragContext): void;
|
|
1082
1444
|
/** dropFunc for each Dragable/Tile -> tile.dropFunc0(hex, ctx) */
|
|
@@ -1114,9 +1476,11 @@ export declare class Table extends Dispatcher {
|
|
|
1114
1476
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
1115
1477
|
setDistText: (dText?: string, size?: number) => void;
|
|
1116
1478
|
showText: (vis?: boolean) => void;
|
|
1117
|
-
|
|
1479
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
1480
|
+
legalMark: import("./hex").LegalMark;
|
|
1118
1481
|
isLegal: boolean;
|
|
1119
1482
|
initCont: (row: number, col: number) => void;
|
|
1483
|
+
reCache: (scale?: number) => void;
|
|
1120
1484
|
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
1121
1485
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
1122
1486
|
metricDist: (hex: Hex) => number;
|
|
@@ -1177,9 +1541,11 @@ export declare class Table extends Dispatcher {
|
|
|
1177
1541
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
1178
1542
|
setDistText: (dText?: string, size?: number) => void;
|
|
1179
1543
|
showText: (vis?: boolean) => void;
|
|
1180
|
-
|
|
1544
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
1545
|
+
legalMark: import("./hex").LegalMark;
|
|
1181
1546
|
isLegal: boolean;
|
|
1182
1547
|
initCont: (row: number, col: number) => void;
|
|
1548
|
+
reCache: (scale?: number) => void;
|
|
1183
1549
|
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
1184
1550
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
1185
1551
|
metricDist: (hex: Hex) => number;
|
|
@@ -1280,9 +1646,11 @@ export declare class Table extends Dispatcher {
|
|
|
1280
1646
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
1281
1647
|
setDistText: (dText?: string, size?: number) => void;
|
|
1282
1648
|
showText: (vis?: boolean) => void;
|
|
1283
|
-
|
|
1649
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
1650
|
+
legalMark: import("./hex").LegalMark;
|
|
1284
1651
|
isLegal: boolean;
|
|
1285
1652
|
initCont: (row: number, col: number) => void;
|
|
1653
|
+
reCache: (scale?: number) => void;
|
|
1286
1654
|
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
1287
1655
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
1288
1656
|
metricDist: (hex: Hex) => number;
|
|
@@ -1343,9 +1711,11 @@ export declare class Table extends Dispatcher {
|
|
|
1343
1711
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
1344
1712
|
setDistText: (dText?: string, size?: number) => void;
|
|
1345
1713
|
showText: (vis?: boolean) => void;
|
|
1346
|
-
|
|
1714
|
+
makeLegalMark: () => import("./hex").LegalMark;
|
|
1715
|
+
legalMark: import("./hex").LegalMark;
|
|
1347
1716
|
isLegal: boolean;
|
|
1348
1717
|
initCont: (row: number, col: number) => void;
|
|
1718
|
+
reCache: (scale?: number) => void;
|
|
1349
1719
|
makeHexShape: (shape?: Constructor<HexShape>) => HexShape;
|
|
1350
1720
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
1351
1721
|
metricDist: (hex: Hex) => number;
|
package/dist/table.d.ts.map
CHANGED
|
@@ -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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