@thegraid/hexlib 1.5.1 → 1.5.2
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/choosers.d.ts +14 -14
- package/dist/counters.d.ts +0 -1
- package/dist/counters.d.ts.map +1 -1
- package/dist/counters.js.map +1 -1
- package/dist/game-play.d.ts +0 -1
- package/dist/game-play.d.ts.map +1 -1
- package/dist/game-play.js.map +1 -1
- package/dist/game-setup.d.ts +3 -2
- package/dist/game-setup.d.ts.map +1 -1
- package/dist/game-setup.js +3 -1
- package/dist/game-setup.js.map +1 -1
- package/dist/game-state.js.map +1 -1
- package/dist/hex.d.ts +79 -71
- package/dist/hex.d.ts.map +1 -1
- package/dist/hex.js.map +1 -1
- package/dist/meeple.d.ts +0 -2
- package/dist/meeple.d.ts.map +1 -1
- package/dist/meeple.js.map +1 -1
- package/dist/player-panel.d.ts +3 -73
- package/dist/player-panel.d.ts.map +1 -1
- package/dist/player.d.ts.map +1 -1
- package/dist/player.js.map +1 -1
- package/dist/scenario-parser.js.map +1 -1
- package/dist/shapes.d.ts +0 -1
- package/dist/shapes.d.ts.map +1 -1
- package/dist/shapes.js.map +1 -1
- package/dist/stream-writer.d.ts +0 -1
- package/dist/stream-writer.d.ts.map +1 -1
- package/dist/stream-writer.js +1 -1
- package/dist/stream-writer.js.map +1 -1
- package/dist/table-params.d.ts.map +1 -1
- package/dist/table-params.js.map +1 -1
- package/dist/table.d.ts +24 -562
- package/dist/table.d.ts.map +1 -1
- package/dist/table.js +3 -3
- package/dist/table.js.map +1 -1
- package/dist/text-log.d.ts +0 -1
- package/dist/text-log.d.ts.map +1 -1
- package/dist/text-log.js.map +1 -1
- package/dist/tile-source.d.ts.map +1 -1
- package/dist/tile-source.js.map +1 -1
- package/dist/tile.d.ts +0 -2
- package/dist/tile.d.ts.map +1 -1
- package/dist/tile.js.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +2 -2
package/dist/table.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/// <reference types="easeljs" />
|
|
2
|
-
/// <reference types="@thegraid/easeljs-lib/dist/createjs-functions" />
|
|
3
1
|
import { Constructor, XY, XYWH } from "@thegraid/common-lib";
|
|
4
2
|
import { Dispatcher, Dragger, DragInfo, DropdownStyle, NamedContainer, NamedObject, ParamGUI, RectShape, ScaleableContainer, UtilButton } from "@thegraid/easeljs-lib";
|
|
5
3
|
import { Container, DisplayObject, Shape, Stage, Text } from "@thegraid/easeljs-module";
|
|
@@ -131,74 +129,7 @@ export declare class Table extends Dispatcher {
|
|
|
131
129
|
distColor: string;
|
|
132
130
|
distText: Text;
|
|
133
131
|
rcText: Text;
|
|
134
|
-
constructorCode: (map: HexM<
|
|
135
|
-
readonly radius: number;
|
|
136
|
-
readonly implementsIHex2: boolean;
|
|
137
|
-
readonly cont: import("./hex").HexCont;
|
|
138
|
-
readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
|
|
139
|
-
readonly mapCont: import("./hex").MapCont;
|
|
140
|
-
readonly markCont: Container;
|
|
141
|
-
x: number;
|
|
142
|
-
y: number;
|
|
143
|
-
readonly scaleX: number;
|
|
144
|
-
readonly scaleY: number;
|
|
145
|
-
district: number | undefined;
|
|
146
|
-
distColor: string;
|
|
147
|
-
distText: Text;
|
|
148
|
-
rcText: Text;
|
|
149
|
-
constructorCode: any;
|
|
150
|
-
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
151
|
-
setDistText: (dText?: string, size?: number) => void;
|
|
152
|
-
showText: (vis?: boolean) => void;
|
|
153
|
-
makeLegalMark: () => import("./hex").LegalMark;
|
|
154
|
-
legalMark: import("./hex").LegalMark;
|
|
155
|
-
setIsLegal: (v: boolean) => boolean;
|
|
156
|
-
initCont: (row: number, col: number) => void;
|
|
157
|
-
reCache: (scale?: number) => void;
|
|
158
|
-
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
159
|
-
setHexColor: (color: string, district?: number | undefined) => void;
|
|
160
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<Partial<Record<import("./hex-intfs").HexDir, import("./hex-intfs").DCR>>, import("./hex-intfs").HexDir>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
161
|
-
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
162
|
-
radialDist: (hex: import("./hex").Hex2) => number;
|
|
163
|
-
metricDist: (hex: import("./hex").Hex2) => number;
|
|
164
|
-
cornerXY: (dir: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
165
|
-
cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
166
|
-
edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
|
|
167
|
-
_tile: import("./tile").MapTile | undefined;
|
|
168
|
-
tile: Tile | undefined;
|
|
169
|
-
_meep: Tile | undefined;
|
|
170
|
-
meep: Tile | undefined;
|
|
171
|
-
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
172
|
-
toString: (color?: string) => string;
|
|
173
|
-
rcspString: (color?: string) => string;
|
|
174
|
-
setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
|
|
175
|
-
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
176
|
-
Aname: string;
|
|
177
|
-
readonly iHex: IdHex;
|
|
178
|
-
readonly rcs: string;
|
|
179
|
-
readonly rowsp: string;
|
|
180
|
-
readonly colsp: string;
|
|
181
|
-
readonly rcsp: string;
|
|
182
|
-
readonly rc_linear: number;
|
|
183
|
-
_rcLinear?: number | undefined;
|
|
184
|
-
_district: number | undefined;
|
|
185
|
-
readonly isOnMap: boolean;
|
|
186
|
-
isLegal: boolean;
|
|
187
|
-
readonly map: HexM<Hex>;
|
|
188
|
-
readonly row: number;
|
|
189
|
-
readonly col: number;
|
|
190
|
-
readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
191
|
-
metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
192
|
-
readonly linkDirs: import("./hex-intfs").HexDir[];
|
|
193
|
-
readonly linkHexes: import("./hex").Hex2[];
|
|
194
|
-
forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
|
|
195
|
-
findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
|
|
196
|
-
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;
|
|
197
|
-
hexesInDir: (dir: import("./hex-intfs").HexDir, rv?: import("./hex").Hex2[]) => import("./hex").Hex2[];
|
|
198
|
-
forEachHexDir: (func: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => unknown) => void;
|
|
199
|
-
nextHex: (dir: import("./hex-intfs").HexDir, ns?: number) => import("./hex").Hex2 | undefined;
|
|
200
|
-
lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
|
|
201
|
-
}>, row: number, col: number, dText?: string) => void;
|
|
132
|
+
constructorCode: (map: HexM<IHex2>, row: number, col: number, dText?: string) => void;
|
|
202
133
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
203
134
|
setDistText: (dText?: string, size?: number) => void;
|
|
204
135
|
showText: (vis?: boolean) => void;
|
|
@@ -209,7 +140,7 @@ export declare class Table extends Dispatcher {
|
|
|
209
140
|
reCache: (scale?: number) => void;
|
|
210
141
|
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
211
142
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
212
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<
|
|
143
|
+
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<import("./hex-intfs").DirDCR>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
213
144
|
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
214
145
|
radialDist: (hex: import("./hex").Hex2) => number;
|
|
215
146
|
metricDist: (hex: import("./hex").Hex2) => number;
|
|
@@ -223,7 +154,7 @@ export declare class Table extends Dispatcher {
|
|
|
223
154
|
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
224
155
|
toString: (color?: string) => string;
|
|
225
156
|
rcspString: (color?: string) => string;
|
|
226
|
-
setUnit: (unit?: Tile
|
|
157
|
+
setUnit: (unit?: Tile, isMeep?: boolean | undefined) => void;
|
|
227
158
|
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
228
159
|
Aname: string;
|
|
229
160
|
readonly iHex: IdHex;
|
|
@@ -267,74 +198,7 @@ export declare class Table extends Dispatcher {
|
|
|
267
198
|
distColor: string;
|
|
268
199
|
distText: Text;
|
|
269
200
|
rcText: Text;
|
|
270
|
-
constructorCode: (map: HexM<
|
|
271
|
-
readonly radius: number;
|
|
272
|
-
readonly implementsIHex2: boolean;
|
|
273
|
-
readonly cont: import("./hex").HexCont;
|
|
274
|
-
readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
|
|
275
|
-
readonly mapCont: import("./hex").MapCont;
|
|
276
|
-
readonly markCont: Container;
|
|
277
|
-
x: number;
|
|
278
|
-
y: number;
|
|
279
|
-
readonly scaleX: number;
|
|
280
|
-
readonly scaleY: number;
|
|
281
|
-
district: number | undefined;
|
|
282
|
-
distColor: string;
|
|
283
|
-
distText: Text;
|
|
284
|
-
rcText: Text;
|
|
285
|
-
constructorCode: any;
|
|
286
|
-
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
287
|
-
setDistText: (dText?: string, size?: number) => void;
|
|
288
|
-
showText: (vis?: boolean) => void;
|
|
289
|
-
makeLegalMark: () => import("./hex").LegalMark;
|
|
290
|
-
legalMark: import("./hex").LegalMark;
|
|
291
|
-
setIsLegal: (v: boolean) => boolean;
|
|
292
|
-
initCont: (row: number, col: number) => void;
|
|
293
|
-
reCache: (scale?: number) => void;
|
|
294
|
-
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
295
|
-
setHexColor: (color: string, district?: number | undefined) => void;
|
|
296
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<Partial<Record<import("./hex-intfs").HexDir, import("./hex-intfs").DCR>>, import("./hex-intfs").HexDir>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
297
|
-
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
298
|
-
radialDist: (hex: import("./hex").Hex2) => number;
|
|
299
|
-
metricDist: (hex: import("./hex").Hex2) => number;
|
|
300
|
-
cornerXY: (dir: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
301
|
-
cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
302
|
-
edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
|
|
303
|
-
_tile: import("./tile").MapTile | undefined;
|
|
304
|
-
tile: Tile | undefined;
|
|
305
|
-
_meep: Tile | undefined;
|
|
306
|
-
meep: Tile | undefined;
|
|
307
|
-
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
308
|
-
toString: (color?: string) => string;
|
|
309
|
-
rcspString: (color?: string) => string;
|
|
310
|
-
setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
|
|
311
|
-
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
312
|
-
Aname: string;
|
|
313
|
-
readonly iHex: IdHex;
|
|
314
|
-
readonly rcs: string;
|
|
315
|
-
readonly rowsp: string;
|
|
316
|
-
readonly colsp: string;
|
|
317
|
-
readonly rcsp: string;
|
|
318
|
-
readonly rc_linear: number;
|
|
319
|
-
_rcLinear?: number | undefined;
|
|
320
|
-
_district: number | undefined;
|
|
321
|
-
readonly isOnMap: boolean;
|
|
322
|
-
isLegal: boolean;
|
|
323
|
-
readonly map: HexM<Hex>;
|
|
324
|
-
readonly row: number;
|
|
325
|
-
readonly col: number;
|
|
326
|
-
readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
327
|
-
metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
328
|
-
readonly linkDirs: import("./hex-intfs").HexDir[];
|
|
329
|
-
readonly linkHexes: import("./hex").Hex2[];
|
|
330
|
-
forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
|
|
331
|
-
findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
|
|
332
|
-
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;
|
|
333
|
-
hexesInDir: (dir: import("./hex-intfs").HexDir, rv?: import("./hex").Hex2[]) => import("./hex").Hex2[];
|
|
334
|
-
forEachHexDir: (func: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => unknown) => void;
|
|
335
|
-
nextHex: (dir: import("./hex-intfs").HexDir, ns?: number) => import("./hex").Hex2 | undefined;
|
|
336
|
-
lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
|
|
337
|
-
}>, row: number, col: number, dText?: string) => void;
|
|
201
|
+
constructorCode: (map: HexM<IHex2>, row: number, col: number, dText?: string) => void;
|
|
338
202
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
339
203
|
setDistText: (dText?: string, size?: number) => void;
|
|
340
204
|
showText: (vis?: boolean) => void;
|
|
@@ -345,7 +209,7 @@ export declare class Table extends Dispatcher {
|
|
|
345
209
|
reCache: (scale?: number) => void;
|
|
346
210
|
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
347
211
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
348
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<
|
|
212
|
+
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<import("./hex-intfs").DirDCR>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
349
213
|
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
350
214
|
radialDist: (hex: import("./hex").Hex2) => number;
|
|
351
215
|
metricDist: (hex: import("./hex").Hex2) => number;
|
|
@@ -359,7 +223,7 @@ export declare class Table extends Dispatcher {
|
|
|
359
223
|
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
360
224
|
toString: (color?: string) => string;
|
|
361
225
|
rcspString: (color?: string) => string;
|
|
362
|
-
setUnit: (unit?: Tile
|
|
226
|
+
setUnit: (unit?: Tile, isMeep?: boolean | undefined) => void;
|
|
363
227
|
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
364
228
|
Aname: string;
|
|
365
229
|
readonly iHex: IdHex;
|
|
@@ -531,74 +395,7 @@ export declare class Table extends Dispatcher {
|
|
|
531
395
|
distColor: string;
|
|
532
396
|
distText: Text;
|
|
533
397
|
rcText: Text;
|
|
534
|
-
constructorCode: (map: HexM<
|
|
535
|
-
readonly radius: number;
|
|
536
|
-
readonly implementsIHex2: boolean;
|
|
537
|
-
readonly cont: import("./hex").HexCont;
|
|
538
|
-
readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
|
|
539
|
-
readonly mapCont: import("./hex").MapCont;
|
|
540
|
-
readonly markCont: Container;
|
|
541
|
-
x: number;
|
|
542
|
-
y: number;
|
|
543
|
-
readonly scaleX: number;
|
|
544
|
-
readonly scaleY: number;
|
|
545
|
-
district: number | undefined;
|
|
546
|
-
distColor: string;
|
|
547
|
-
distText: Text;
|
|
548
|
-
rcText: Text;
|
|
549
|
-
constructorCode: any;
|
|
550
|
-
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
551
|
-
setDistText: (dText?: string, size?: number) => void;
|
|
552
|
-
showText: (vis?: boolean) => void;
|
|
553
|
-
makeLegalMark: () => import("./hex").LegalMark;
|
|
554
|
-
legalMark: import("./hex").LegalMark;
|
|
555
|
-
setIsLegal: (v: boolean) => boolean;
|
|
556
|
-
initCont: (row: number, col: number) => void;
|
|
557
|
-
reCache: (scale?: number) => void;
|
|
558
|
-
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
559
|
-
setHexColor: (color: string, district?: number | undefined) => void;
|
|
560
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<Partial<Record<import("./hex-intfs").HexDir, import("./hex-intfs").DCR>>, import("./hex-intfs").HexDir>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
561
|
-
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
562
|
-
radialDist: (hex: import("./hex").Hex2) => number;
|
|
563
|
-
metricDist: (hex: import("./hex").Hex2) => number;
|
|
564
|
-
cornerXY: (dir: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
565
|
-
cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
566
|
-
edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
|
|
567
|
-
_tile: import("./tile").MapTile | undefined;
|
|
568
|
-
tile: Tile | undefined;
|
|
569
|
-
_meep: Tile | undefined;
|
|
570
|
-
meep: Tile | undefined;
|
|
571
|
-
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
572
|
-
toString: (color?: string) => string;
|
|
573
|
-
rcspString: (color?: string) => string;
|
|
574
|
-
setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
|
|
575
|
-
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
576
|
-
Aname: string;
|
|
577
|
-
readonly iHex: IdHex;
|
|
578
|
-
readonly rcs: string;
|
|
579
|
-
readonly rowsp: string;
|
|
580
|
-
readonly colsp: string;
|
|
581
|
-
readonly rcsp: string;
|
|
582
|
-
readonly rc_linear: number;
|
|
583
|
-
_rcLinear?: number | undefined;
|
|
584
|
-
_district: number | undefined;
|
|
585
|
-
readonly isOnMap: boolean;
|
|
586
|
-
isLegal: boolean;
|
|
587
|
-
readonly map: HexM<Hex>;
|
|
588
|
-
readonly row: number;
|
|
589
|
-
readonly col: number;
|
|
590
|
-
readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
591
|
-
metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
592
|
-
readonly linkDirs: import("./hex-intfs").HexDir[];
|
|
593
|
-
readonly linkHexes: import("./hex").Hex2[];
|
|
594
|
-
forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
|
|
595
|
-
findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
|
|
596
|
-
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;
|
|
597
|
-
hexesInDir: (dir: import("./hex-intfs").HexDir, rv?: import("./hex").Hex2[]) => import("./hex").Hex2[];
|
|
598
|
-
forEachHexDir: (func: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => unknown) => void;
|
|
599
|
-
nextHex: (dir: import("./hex-intfs").HexDir, ns?: number) => import("./hex").Hex2 | undefined;
|
|
600
|
-
lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
|
|
601
|
-
}>, row: number, col: number, dText?: string) => void;
|
|
398
|
+
constructorCode: (map: HexM<IHex2>, row: number, col: number, dText?: string) => void;
|
|
602
399
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
603
400
|
setDistText: (dText?: string, size?: number) => void;
|
|
604
401
|
showText: (vis?: boolean) => void;
|
|
@@ -609,7 +406,7 @@ export declare class Table extends Dispatcher {
|
|
|
609
406
|
reCache: (scale?: number) => void;
|
|
610
407
|
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
611
408
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
612
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<
|
|
409
|
+
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<import("./hex-intfs").DirDCR>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
613
410
|
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
614
411
|
radialDist: (hex: import("./hex").Hex2) => number;
|
|
615
412
|
metricDist: (hex: import("./hex").Hex2) => number;
|
|
@@ -623,7 +420,7 @@ export declare class Table extends Dispatcher {
|
|
|
623
420
|
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
624
421
|
toString: (color?: string) => string;
|
|
625
422
|
rcspString: (color?: string) => string;
|
|
626
|
-
setUnit: (unit?: Tile
|
|
423
|
+
setUnit: (unit?: Tile, isMeep?: boolean | undefined) => void;
|
|
627
424
|
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
628
425
|
Aname: string;
|
|
629
426
|
readonly iHex: IdHex;
|
|
@@ -676,74 +473,7 @@ export declare class Table extends Dispatcher {
|
|
|
676
473
|
distColor: string;
|
|
677
474
|
distText: Text;
|
|
678
475
|
rcText: Text;
|
|
679
|
-
constructorCode: (map: HexM<
|
|
680
|
-
readonly radius: number;
|
|
681
|
-
readonly implementsIHex2: boolean;
|
|
682
|
-
readonly cont: import("./hex").HexCont;
|
|
683
|
-
readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
|
|
684
|
-
readonly mapCont: import("./hex").MapCont;
|
|
685
|
-
readonly markCont: Container;
|
|
686
|
-
x: number;
|
|
687
|
-
y: number;
|
|
688
|
-
readonly scaleX: number;
|
|
689
|
-
readonly scaleY: number;
|
|
690
|
-
district: number | undefined;
|
|
691
|
-
distColor: string;
|
|
692
|
-
distText: Text;
|
|
693
|
-
rcText: Text;
|
|
694
|
-
constructorCode: any;
|
|
695
|
-
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
696
|
-
setDistText: (dText?: string, size?: number) => void;
|
|
697
|
-
showText: (vis?: boolean) => void;
|
|
698
|
-
makeLegalMark: () => import("./hex").LegalMark;
|
|
699
|
-
legalMark: import("./hex").LegalMark;
|
|
700
|
-
setIsLegal: (v: boolean) => boolean;
|
|
701
|
-
initCont: (row: number, col: number) => void;
|
|
702
|
-
reCache: (scale?: number) => void;
|
|
703
|
-
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
704
|
-
setHexColor: (color: string, district?: number | undefined) => void;
|
|
705
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<Partial<Record<import("./hex-intfs").HexDir, import("./hex-intfs").DCR>>, import("./hex-intfs").HexDir>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
706
|
-
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
707
|
-
radialDist: (hex: import("./hex").Hex2) => number;
|
|
708
|
-
metricDist: (hex: import("./hex").Hex2) => number;
|
|
709
|
-
cornerXY: (dir: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
710
|
-
cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
711
|
-
edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
|
|
712
|
-
_tile: import("./tile").MapTile | undefined;
|
|
713
|
-
tile: Tile | undefined;
|
|
714
|
-
_meep: Tile | undefined;
|
|
715
|
-
meep: Tile | undefined;
|
|
716
|
-
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
717
|
-
toString: (color?: string) => string;
|
|
718
|
-
rcspString: (color?: string) => string;
|
|
719
|
-
setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
|
|
720
|
-
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
721
|
-
Aname: string;
|
|
722
|
-
readonly iHex: IdHex;
|
|
723
|
-
readonly rcs: string;
|
|
724
|
-
readonly rowsp: string;
|
|
725
|
-
readonly colsp: string;
|
|
726
|
-
readonly rcsp: string;
|
|
727
|
-
readonly rc_linear: number;
|
|
728
|
-
_rcLinear?: number | undefined;
|
|
729
|
-
_district: number | undefined;
|
|
730
|
-
readonly isOnMap: boolean;
|
|
731
|
-
isLegal: boolean;
|
|
732
|
-
readonly map: HexM<Hex>;
|
|
733
|
-
readonly row: number;
|
|
734
|
-
readonly col: number;
|
|
735
|
-
readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
736
|
-
metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
737
|
-
readonly linkDirs: import("./hex-intfs").HexDir[];
|
|
738
|
-
readonly linkHexes: import("./hex").Hex2[];
|
|
739
|
-
forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
|
|
740
|
-
findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
|
|
741
|
-
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;
|
|
742
|
-
hexesInDir: (dir: import("./hex-intfs").HexDir, rv?: import("./hex").Hex2[]) => import("./hex").Hex2[];
|
|
743
|
-
forEachHexDir: (func: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => unknown) => void;
|
|
744
|
-
nextHex: (dir: import("./hex-intfs").HexDir, ns?: number) => import("./hex").Hex2 | undefined;
|
|
745
|
-
lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
|
|
746
|
-
}>, row: number, col: number, dText?: string) => void;
|
|
476
|
+
constructorCode: (map: HexM<IHex2>, row: number, col: number, dText?: string) => void;
|
|
747
477
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
748
478
|
setDistText: (dText?: string, size?: number) => void;
|
|
749
479
|
showText: (vis?: boolean) => void;
|
|
@@ -754,7 +484,7 @@ export declare class Table extends Dispatcher {
|
|
|
754
484
|
reCache: (scale?: number) => void;
|
|
755
485
|
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
756
486
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
757
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<
|
|
487
|
+
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<import("./hex-intfs").DirDCR>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
758
488
|
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
759
489
|
radialDist: (hex: import("./hex").Hex2) => number;
|
|
760
490
|
metricDist: (hex: import("./hex").Hex2) => number;
|
|
@@ -768,7 +498,7 @@ export declare class Table extends Dispatcher {
|
|
|
768
498
|
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
769
499
|
toString: (color?: string) => string;
|
|
770
500
|
rcspString: (color?: string) => string;
|
|
771
|
-
setUnit: (unit?: Tile
|
|
501
|
+
setUnit: (unit?: Tile, isMeep?: boolean | undefined) => void;
|
|
772
502
|
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
773
503
|
Aname: string;
|
|
774
504
|
readonly iHex: IdHex;
|
|
@@ -864,74 +594,7 @@ export declare class Table extends Dispatcher {
|
|
|
864
594
|
distColor: string;
|
|
865
595
|
distText: Text;
|
|
866
596
|
rcText: Text;
|
|
867
|
-
constructorCode: (map: HexM<
|
|
868
|
-
readonly radius: number;
|
|
869
|
-
readonly implementsIHex2: boolean;
|
|
870
|
-
readonly cont: import("./hex").HexCont;
|
|
871
|
-
readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
|
|
872
|
-
readonly mapCont: import("./hex").MapCont;
|
|
873
|
-
readonly markCont: Container;
|
|
874
|
-
x: number;
|
|
875
|
-
y: number;
|
|
876
|
-
readonly scaleX: number;
|
|
877
|
-
readonly scaleY: number;
|
|
878
|
-
district: number | undefined;
|
|
879
|
-
distColor: string;
|
|
880
|
-
distText: Text;
|
|
881
|
-
rcText: Text;
|
|
882
|
-
constructorCode: any;
|
|
883
|
-
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
884
|
-
setDistText: (dText?: string, size?: number) => void;
|
|
885
|
-
showText: (vis?: boolean) => void;
|
|
886
|
-
makeLegalMark: () => import("./hex").LegalMark;
|
|
887
|
-
legalMark: import("./hex").LegalMark;
|
|
888
|
-
setIsLegal: (v: boolean) => boolean;
|
|
889
|
-
initCont: (row: number, col: number) => void;
|
|
890
|
-
reCache: (scale?: number) => void;
|
|
891
|
-
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
892
|
-
setHexColor: (color: string, district?: number | undefined) => void;
|
|
893
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<Partial<Record<import("./hex-intfs").HexDir, import("./hex-intfs").DCR>>, import("./hex-intfs").HexDir>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
894
|
-
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
895
|
-
radialDist: (hex: import("./hex").Hex2) => number;
|
|
896
|
-
metricDist: (hex: import("./hex").Hex2) => number;
|
|
897
|
-
cornerXY: (dir: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
898
|
-
cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
899
|
-
edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
|
|
900
|
-
_tile: import("./tile").MapTile | undefined;
|
|
901
|
-
tile: Tile | undefined;
|
|
902
|
-
_meep: Tile | undefined;
|
|
903
|
-
meep: Tile | undefined;
|
|
904
|
-
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
905
|
-
toString: (color?: string) => string;
|
|
906
|
-
rcspString: (color?: string) => string;
|
|
907
|
-
setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
|
|
908
|
-
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
909
|
-
Aname: string;
|
|
910
|
-
readonly iHex: IdHex;
|
|
911
|
-
readonly rcs: string;
|
|
912
|
-
readonly rowsp: string;
|
|
913
|
-
readonly colsp: string;
|
|
914
|
-
readonly rcsp: string;
|
|
915
|
-
readonly rc_linear: number;
|
|
916
|
-
_rcLinear?: number | undefined;
|
|
917
|
-
_district: number | undefined;
|
|
918
|
-
readonly isOnMap: boolean;
|
|
919
|
-
isLegal: boolean;
|
|
920
|
-
readonly map: HexM<Hex>;
|
|
921
|
-
readonly row: number;
|
|
922
|
-
readonly col: number;
|
|
923
|
-
readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
924
|
-
metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
925
|
-
readonly linkDirs: import("./hex-intfs").HexDir[];
|
|
926
|
-
readonly linkHexes: import("./hex").Hex2[];
|
|
927
|
-
forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
|
|
928
|
-
findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
|
|
929
|
-
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;
|
|
930
|
-
hexesInDir: (dir: import("./hex-intfs").HexDir, rv?: import("./hex").Hex2[]) => import("./hex").Hex2[];
|
|
931
|
-
forEachHexDir: (func: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => unknown) => void;
|
|
932
|
-
nextHex: (dir: import("./hex-intfs").HexDir, ns?: number) => import("./hex").Hex2 | undefined;
|
|
933
|
-
lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
|
|
934
|
-
}>, row: number, col: number, dText?: string) => void;
|
|
597
|
+
constructorCode: (map: HexM<IHex2>, row: number, col: number, dText?: string) => void;
|
|
935
598
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
936
599
|
setDistText: (dText?: string, size?: number) => void;
|
|
937
600
|
showText: (vis?: boolean) => void;
|
|
@@ -942,7 +605,7 @@ export declare class Table extends Dispatcher {
|
|
|
942
605
|
reCache: (scale?: number) => void;
|
|
943
606
|
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
944
607
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
945
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<
|
|
608
|
+
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<import("./hex-intfs").DirDCR>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
946
609
|
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
947
610
|
radialDist: (hex: import("./hex").Hex2) => number;
|
|
948
611
|
metricDist: (hex: import("./hex").Hex2) => number;
|
|
@@ -956,7 +619,7 @@ export declare class Table extends Dispatcher {
|
|
|
956
619
|
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
957
620
|
toString: (color?: string) => string;
|
|
958
621
|
rcspString: (color?: string) => string;
|
|
959
|
-
setUnit: (unit?: Tile
|
|
622
|
+
setUnit: (unit?: Tile, isMeep?: boolean | undefined) => void;
|
|
960
623
|
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
961
624
|
Aname: string;
|
|
962
625
|
readonly iHex: IdHex;
|
|
@@ -1011,74 +674,7 @@ export declare class Table extends Dispatcher {
|
|
|
1011
674
|
distColor: string;
|
|
1012
675
|
distText: Text;
|
|
1013
676
|
rcText: Text;
|
|
1014
|
-
constructorCode: (map: HexM<
|
|
1015
|
-
readonly radius: number;
|
|
1016
|
-
readonly implementsIHex2: boolean;
|
|
1017
|
-
readonly cont: import("./hex").HexCont;
|
|
1018
|
-
readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
|
|
1019
|
-
readonly mapCont: import("./hex").MapCont;
|
|
1020
|
-
readonly markCont: Container;
|
|
1021
|
-
x: number;
|
|
1022
|
-
y: number;
|
|
1023
|
-
readonly scaleX: number;
|
|
1024
|
-
readonly scaleY: number;
|
|
1025
|
-
district: number | undefined;
|
|
1026
|
-
distColor: string;
|
|
1027
|
-
distText: Text;
|
|
1028
|
-
rcText: Text;
|
|
1029
|
-
constructorCode: any;
|
|
1030
|
-
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
1031
|
-
setDistText: (dText?: string, size?: number) => void;
|
|
1032
|
-
showText: (vis?: boolean) => void;
|
|
1033
|
-
makeLegalMark: () => import("./hex").LegalMark;
|
|
1034
|
-
legalMark: import("./hex").LegalMark;
|
|
1035
|
-
setIsLegal: (v: boolean) => boolean;
|
|
1036
|
-
initCont: (row: number, col: number) => void;
|
|
1037
|
-
reCache: (scale?: number) => void;
|
|
1038
|
-
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
1039
|
-
setHexColor: (color: string, district?: number | undefined) => void;
|
|
1040
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<Partial<Record<import("./hex-intfs").HexDir, import("./hex-intfs").DCR>>, import("./hex-intfs").HexDir>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
1041
|
-
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
1042
|
-
radialDist: (hex: import("./hex").Hex2) => number;
|
|
1043
|
-
metricDist: (hex: import("./hex").Hex2) => number;
|
|
1044
|
-
cornerXY: (dir: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
1045
|
-
cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
1046
|
-
edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
|
|
1047
|
-
_tile: import("./tile").MapTile | undefined;
|
|
1048
|
-
tile: Tile | undefined;
|
|
1049
|
-
_meep: Tile | undefined;
|
|
1050
|
-
meep: Tile | undefined;
|
|
1051
|
-
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
1052
|
-
toString: (color?: string) => string;
|
|
1053
|
-
rcspString: (color?: string) => string;
|
|
1054
|
-
setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
|
|
1055
|
-
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
1056
|
-
Aname: string;
|
|
1057
|
-
readonly iHex: IdHex;
|
|
1058
|
-
readonly rcs: string;
|
|
1059
|
-
readonly rowsp: string;
|
|
1060
|
-
readonly colsp: string;
|
|
1061
|
-
readonly rcsp: string;
|
|
1062
|
-
readonly rc_linear: number;
|
|
1063
|
-
_rcLinear?: number | undefined;
|
|
1064
|
-
_district: number | undefined;
|
|
1065
|
-
readonly isOnMap: boolean;
|
|
1066
|
-
isLegal: boolean;
|
|
1067
|
-
readonly map: HexM<Hex>;
|
|
1068
|
-
readonly row: number;
|
|
1069
|
-
readonly col: number;
|
|
1070
|
-
readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
1071
|
-
metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
1072
|
-
readonly linkDirs: import("./hex-intfs").HexDir[];
|
|
1073
|
-
readonly linkHexes: import("./hex").Hex2[];
|
|
1074
|
-
forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
|
|
1075
|
-
findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
|
|
1076
|
-
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;
|
|
1077
|
-
hexesInDir: (dir: import("./hex-intfs").HexDir, rv?: import("./hex").Hex2[]) => import("./hex").Hex2[];
|
|
1078
|
-
forEachHexDir: (func: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => unknown) => void;
|
|
1079
|
-
nextHex: (dir: import("./hex-intfs").HexDir, ns?: number) => import("./hex").Hex2 | undefined;
|
|
1080
|
-
lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
|
|
1081
|
-
}>, row: number, col: number, dText?: string) => void;
|
|
677
|
+
constructorCode: (map: HexM<IHex2>, row: number, col: number, dText?: string) => void;
|
|
1082
678
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
1083
679
|
setDistText: (dText?: string, size?: number) => void;
|
|
1084
680
|
showText: (vis?: boolean) => void;
|
|
@@ -1089,7 +685,7 @@ export declare class Table extends Dispatcher {
|
|
|
1089
685
|
reCache: (scale?: number) => void;
|
|
1090
686
|
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
1091
687
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
1092
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<
|
|
688
|
+
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<import("./hex-intfs").DirDCR>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
1093
689
|
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
1094
690
|
radialDist: (hex: import("./hex").Hex2) => number;
|
|
1095
691
|
metricDist: (hex: import("./hex").Hex2) => number;
|
|
@@ -1103,7 +699,7 @@ export declare class Table extends Dispatcher {
|
|
|
1103
699
|
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
1104
700
|
toString: (color?: string) => string;
|
|
1105
701
|
rcspString: (color?: string) => string;
|
|
1106
|
-
setUnit: (unit?: Tile
|
|
702
|
+
setUnit: (unit?: Tile, isMeep?: boolean | undefined) => void;
|
|
1107
703
|
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
1108
704
|
Aname: string;
|
|
1109
705
|
readonly iHex: IdHex;
|
|
@@ -1181,74 +777,7 @@ export declare class Table extends Dispatcher {
|
|
|
1181
777
|
distColor: string;
|
|
1182
778
|
distText: Text;
|
|
1183
779
|
rcText: Text;
|
|
1184
|
-
constructorCode: (map: HexM<
|
|
1185
|
-
readonly radius: number;
|
|
1186
|
-
readonly implementsIHex2: boolean;
|
|
1187
|
-
readonly cont: import("./hex").HexCont;
|
|
1188
|
-
readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
|
|
1189
|
-
readonly mapCont: import("./hex").MapCont;
|
|
1190
|
-
readonly markCont: Container;
|
|
1191
|
-
x: number;
|
|
1192
|
-
y: number;
|
|
1193
|
-
readonly scaleX: number;
|
|
1194
|
-
readonly scaleY: number;
|
|
1195
|
-
district: number | undefined;
|
|
1196
|
-
distColor: string;
|
|
1197
|
-
distText: Text;
|
|
1198
|
-
rcText: Text;
|
|
1199
|
-
constructorCode: any;
|
|
1200
|
-
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
1201
|
-
setDistText: (dText?: string, size?: number) => void;
|
|
1202
|
-
showText: (vis?: boolean) => void;
|
|
1203
|
-
makeLegalMark: () => import("./hex").LegalMark;
|
|
1204
|
-
legalMark: import("./hex").LegalMark;
|
|
1205
|
-
setIsLegal: (v: boolean) => boolean;
|
|
1206
|
-
initCont: (row: number, col: number) => void;
|
|
1207
|
-
reCache: (scale?: number) => void;
|
|
1208
|
-
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
1209
|
-
setHexColor: (color: string, district?: number | undefined) => void;
|
|
1210
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<Partial<Record<import("./hex-intfs").HexDir, import("./hex-intfs").DCR>>, import("./hex-intfs").HexDir>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
1211
|
-
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
1212
|
-
radialDist: (hex: import("./hex").Hex2) => number;
|
|
1213
|
-
metricDist: (hex: import("./hex").Hex2) => number;
|
|
1214
|
-
cornerXY: (dir: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
1215
|
-
cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
1216
|
-
edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
|
|
1217
|
-
_tile: import("./tile").MapTile | undefined;
|
|
1218
|
-
tile: Tile | undefined;
|
|
1219
|
-
_meep: Tile | undefined;
|
|
1220
|
-
meep: Tile | undefined;
|
|
1221
|
-
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
1222
|
-
toString: (color?: string) => string;
|
|
1223
|
-
rcspString: (color?: string) => string;
|
|
1224
|
-
setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
|
|
1225
|
-
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
1226
|
-
Aname: string;
|
|
1227
|
-
readonly iHex: IdHex;
|
|
1228
|
-
readonly rcs: string;
|
|
1229
|
-
readonly rowsp: string;
|
|
1230
|
-
readonly colsp: string;
|
|
1231
|
-
readonly rcsp: string;
|
|
1232
|
-
readonly rc_linear: number;
|
|
1233
|
-
_rcLinear?: number | undefined;
|
|
1234
|
-
_district: number | undefined;
|
|
1235
|
-
readonly isOnMap: boolean;
|
|
1236
|
-
isLegal: boolean;
|
|
1237
|
-
readonly map: HexM<Hex>;
|
|
1238
|
-
readonly row: number;
|
|
1239
|
-
readonly col: number;
|
|
1240
|
-
readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
1241
|
-
metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
1242
|
-
readonly linkDirs: import("./hex-intfs").HexDir[];
|
|
1243
|
-
readonly linkHexes: import("./hex").Hex2[];
|
|
1244
|
-
forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
|
|
1245
|
-
findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
|
|
1246
|
-
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;
|
|
1247
|
-
hexesInDir: (dir: import("./hex-intfs").HexDir, rv?: import("./hex").Hex2[]) => import("./hex").Hex2[];
|
|
1248
|
-
forEachHexDir: (func: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => unknown) => void;
|
|
1249
|
-
nextHex: (dir: import("./hex-intfs").HexDir, ns?: number) => import("./hex").Hex2 | undefined;
|
|
1250
|
-
lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
|
|
1251
|
-
}>, row: number, col: number, dText?: string) => void;
|
|
780
|
+
constructorCode: (map: HexM<IHex2>, row: number, col: number, dText?: string) => void;
|
|
1252
781
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
1253
782
|
setDistText: (dText?: string, size?: number) => void;
|
|
1254
783
|
showText: (vis?: boolean) => void;
|
|
@@ -1259,7 +788,7 @@ export declare class Table extends Dispatcher {
|
|
|
1259
788
|
reCache: (scale?: number) => void;
|
|
1260
789
|
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
1261
790
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
1262
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<
|
|
791
|
+
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<import("./hex-intfs").DirDCR>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
1263
792
|
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
1264
793
|
radialDist: (hex: import("./hex").Hex2) => number;
|
|
1265
794
|
metricDist: (hex: import("./hex").Hex2) => number;
|
|
@@ -1273,7 +802,7 @@ export declare class Table extends Dispatcher {
|
|
|
1273
802
|
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
1274
803
|
toString: (color?: string) => string;
|
|
1275
804
|
rcspString: (color?: string) => string;
|
|
1276
|
-
setUnit: (unit?: Tile
|
|
805
|
+
setUnit: (unit?: Tile, isMeep?: boolean | undefined) => void;
|
|
1277
806
|
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
1278
807
|
Aname: string;
|
|
1279
808
|
readonly iHex: IdHex;
|
|
@@ -1325,74 +854,7 @@ export declare class Table extends Dispatcher {
|
|
|
1325
854
|
distColor: string;
|
|
1326
855
|
distText: Text;
|
|
1327
856
|
rcText: Text;
|
|
1328
|
-
constructorCode: (map: HexM<
|
|
1329
|
-
readonly radius: number;
|
|
1330
|
-
readonly implementsIHex2: boolean;
|
|
1331
|
-
readonly cont: import("./hex").HexCont;
|
|
1332
|
-
readonly hexShape: import("@thegraid/easeljs-lib").Paintable;
|
|
1333
|
-
readonly mapCont: import("./hex").MapCont;
|
|
1334
|
-
readonly markCont: Container;
|
|
1335
|
-
x: number;
|
|
1336
|
-
y: number;
|
|
1337
|
-
readonly scaleX: number;
|
|
1338
|
-
readonly scaleY: number;
|
|
1339
|
-
district: number | undefined;
|
|
1340
|
-
distColor: string;
|
|
1341
|
-
distText: Text;
|
|
1342
|
-
rcText: Text;
|
|
1343
|
-
constructorCode: any;
|
|
1344
|
-
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
1345
|
-
setDistText: (dText?: string, size?: number) => void;
|
|
1346
|
-
showText: (vis?: boolean) => void;
|
|
1347
|
-
makeLegalMark: () => import("./hex").LegalMark;
|
|
1348
|
-
legalMark: import("./hex").LegalMark;
|
|
1349
|
-
setIsLegal: (v: boolean) => boolean;
|
|
1350
|
-
initCont: (row: number, col: number) => void;
|
|
1351
|
-
reCache: (scale?: number) => void;
|
|
1352
|
-
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
1353
|
-
setHexColor: (color: string, district?: number | undefined) => void;
|
|
1354
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<Partial<Record<import("./hex-intfs").HexDir, import("./hex-intfs").DCR>>, import("./hex-intfs").HexDir>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
1355
|
-
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
1356
|
-
radialDist: (hex: import("./hex").Hex2) => number;
|
|
1357
|
-
metricDist: (hex: import("./hex").Hex2) => number;
|
|
1358
|
-
cornerXY: (dir: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
1359
|
-
cornerPoint: (dir0: import("./hex-intfs").HexDir, dir1: import("./hex-intfs").HexDir, rad?: number, point?: import("@thegraid/easeljs-module").Point) => import("@thegraid/easeljs-module").Point;
|
|
1360
|
-
edgePoint: (dir: import("./hex-intfs").HexDir, rad?: number, point?: XY) => import("@thegraid/easeljs-module").Point;
|
|
1361
|
-
_tile: import("./tile").MapTile | undefined;
|
|
1362
|
-
tile: Tile | undefined;
|
|
1363
|
-
_meep: Tile | undefined;
|
|
1364
|
-
meep: Tile | undefined;
|
|
1365
|
-
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
1366
|
-
toString: (color?: string) => string;
|
|
1367
|
-
rcspString: (color?: string) => string;
|
|
1368
|
-
setUnit: (unit?: Tile | undefined, isMeep?: boolean | undefined) => void;
|
|
1369
|
-
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
1370
|
-
Aname: string;
|
|
1371
|
-
readonly iHex: IdHex;
|
|
1372
|
-
readonly rcs: string;
|
|
1373
|
-
readonly rowsp: string;
|
|
1374
|
-
readonly colsp: string;
|
|
1375
|
-
readonly rcsp: string;
|
|
1376
|
-
readonly rc_linear: number;
|
|
1377
|
-
_rcLinear?: number | undefined;
|
|
1378
|
-
_district: number | undefined;
|
|
1379
|
-
readonly isOnMap: boolean;
|
|
1380
|
-
isLegal: boolean;
|
|
1381
|
-
readonly map: HexM<Hex>;
|
|
1382
|
-
readonly row: number;
|
|
1383
|
-
readonly col: number;
|
|
1384
|
-
readonly links: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
1385
|
-
metaLinks: Partial<Record<import("./hex-intfs").HexDir, import("./hex").Hex2>>;
|
|
1386
|
-
readonly linkDirs: import("./hex-intfs").HexDir[];
|
|
1387
|
-
readonly linkHexes: import("./hex").Hex2[];
|
|
1388
|
-
forEachLinkHex: (func: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir | undefined, hex0: import("./hex").Hex2) => unknown, inclCenter?: boolean) => void;
|
|
1389
|
-
findLinkHex: (pred: (hex: import("./hex").Hex2 | undefined, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => boolean) => import("./hex-intfs").HexDir | undefined;
|
|
1390
|
-
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;
|
|
1391
|
-
hexesInDir: (dir: import("./hex-intfs").HexDir, rv?: import("./hex").Hex2[]) => import("./hex").Hex2[];
|
|
1392
|
-
forEachHexDir: (func: (hex: import("./hex").Hex2, dir: import("./hex-intfs").HexDir, hex0: import("./hex").Hex2) => unknown) => void;
|
|
1393
|
-
nextHex: (dir: import("./hex-intfs").HexDir, ns?: number) => import("./hex").Hex2 | undefined;
|
|
1394
|
-
lastHex: (ds: import("./hex-intfs").HexDir) => import("./hex").Hex2;
|
|
1395
|
-
}>, row: number, col: number, dText?: string) => void;
|
|
857
|
+
constructorCode: (map: HexM<IHex2>, row: number, col: number, dText?: string) => void;
|
|
1396
858
|
setRcText: (row: number, col: number, rcf?: number) => void;
|
|
1397
859
|
setDistText: (dText?: string, size?: number) => void;
|
|
1398
860
|
showText: (vis?: boolean) => void;
|
|
@@ -1403,7 +865,7 @@ export declare class Table extends Dispatcher {
|
|
|
1403
865
|
reCache: (scale?: number) => void;
|
|
1404
866
|
makeHexShape: (colorn?: string) => import("@thegraid/easeljs-lib").Paintable;
|
|
1405
867
|
setHexColor: (color: string, district?: number | undefined) => void;
|
|
1406
|
-
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<
|
|
868
|
+
xywh: (radius?: number, topo?: import("./hex-intfs").TopoC<import("./hex-intfs").DirDCR>, row?: number, col?: number) => import("./hex-intfs").TopoXYWH;
|
|
1407
869
|
readonly xywh0: import("./hex-intfs").TopoXYWH;
|
|
1408
870
|
radialDist: (hex: import("./hex").Hex2) => number;
|
|
1409
871
|
metricDist: (hex: import("./hex").Hex2) => number;
|
|
@@ -1417,7 +879,7 @@ export declare class Table extends Dispatcher {
|
|
|
1417
879
|
readonly occupied: [Tile | undefined, Tile | undefined] | undefined;
|
|
1418
880
|
toString: (color?: string) => string;
|
|
1419
881
|
rcspString: (color?: string) => string;
|
|
1420
|
-
setUnit: (unit?: Tile
|
|
882
|
+
setUnit: (unit?: Tile, isMeep?: boolean | undefined) => void;
|
|
1421
883
|
unitCollision: (this_unit: Tile, unit: Tile, isMeep?: boolean) => void;
|
|
1422
884
|
Aname: string;
|
|
1423
885
|
readonly iHex: IdHex;
|