qpremake 1.5.1
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/README.md +184 -0
- package/lib/_localizationFiles/English.d.ts +2 -0
- package/lib/_localizationFiles/English.js +307 -0
- package/lib/_mods/parserModules/addSymbol.d.ts +7 -0
- package/lib/_mods/parserModules/addSymbol.js +18 -0
- package/lib/_mods/parserModules/expression.d.ts +7 -0
- package/lib/_mods/parserModules/expression.js +45 -0
- package/lib/_mods/parserModules/expression_parser.d.ts +143 -0
- package/lib/_mods/parserModules/expression_parser.js +728 -0
- package/lib/_mods/parserModules/img.d.ts +8 -0
- package/lib/_mods/parserModules/img.js +42 -0
- package/lib/_mods/parserModules/qpOriginal.d.ts +5 -0
- package/lib/_mods/parserModules/qpOriginal.js +27 -0
- package/lib/_mods/parserModules/sectionID.d.ts +13 -0
- package/lib/_mods/parserModules/sectionID.js +56 -0
- package/lib/_mods/parserModules/tags.d.ts +9 -0
- package/lib/_mods/parserModules/tags.js +29 -0
- package/lib/_mods/parserModules/uaddminus.d.ts +9 -0
- package/lib/_mods/parserModules/uaddminus.js +42 -0
- package/lib/_mods/parserModules/variantCheck.d.ts +10 -0
- package/lib/_mods/parserModules/variantCheck.js +53 -0
- package/lib/_queenSystem/handler/actionGenrator.d.ts +994 -0
- package/lib/_queenSystem/handler/actionGenrator.js +646 -0
- package/lib/_queenSystem/handler/actionInputGenerator.d.ts +95 -0
- package/lib/_queenSystem/handler/actionInputGenerator.js +373 -0
- package/lib/_queenSystem/handler/actionInputRequesterGenerator.d.ts +92 -0
- package/lib/_queenSystem/handler/actionInputRequesterGenerator.js +341 -0
- package/lib/_queenSystem/handler/cardHandler.d.ts +20 -0
- package/lib/_queenSystem/handler/cardHandler.js +61 -0
- package/lib/_queenSystem/handler/effectGenerator.d.ts +1 -0
- package/lib/_queenSystem/handler/effectGenerator.js +127 -0
- package/lib/_queenSystem/handler/localizationHandler.d.ts +28 -0
- package/lib/_queenSystem/handler/localizationHandler.js +166 -0
- package/lib/_queenSystem/handler/modHandler.d.ts +10 -0
- package/lib/_queenSystem/handler/modHandler.js +36 -0
- package/lib/_queenSystem/handler/oldDataProcessor.d.ts +9 -0
- package/lib/_queenSystem/handler/oldDataProcessor.js +129 -0
- package/lib/_queenSystem/handler/registryHandler.d.ts +36 -0
- package/lib/_queenSystem/handler/registryHandler.js +63 -0
- package/lib/_queenSystem/handler/zoneHandler.d.ts +102 -0
- package/lib/_queenSystem/handler/zoneHandler.js +606 -0
- package/lib/_queenSystem/loader/loader_card.d.ts +20 -0
- package/lib/_queenSystem/loader/loader_card.js +124 -0
- package/lib/_queenSystem/loader/loader_effect.d.ts +27 -0
- package/lib/_queenSystem/loader/loader_effect.js +163 -0
- package/lib/_queenSystem/loader/loader_handler.d.ts +11 -0
- package/lib/_queenSystem/loader/loader_handler.js +24 -0
- package/lib/_queenSystem/loader/loader_localization.d.ts +11 -0
- package/lib/_queenSystem/loader/loader_localization.js +73 -0
- package/lib/_queenSystem/loader/loader_mod.d.ts +10 -0
- package/lib/_queenSystem/loader/loader_mod.js +72 -0
- package/lib/_queenSystem/loader/loader_subtype.d.ts +9 -0
- package/lib/_queenSystem/loader/loader_subtype.js +39 -0
- package/lib/_queenSystem/loader/loader_type.d.ts +9 -0
- package/lib/_queenSystem/loader/loader_type.js +39 -0
- package/lib/_queenSystem/loader/loader_zone.d.ts +14 -0
- package/lib/_queenSystem/loader/loader_zone.js +35 -0
- package/lib/_queenSystem/queenSystem.d.ts +127 -0
- package/lib/_queenSystem/queenSystem.js +996 -0
- package/lib/_queenSystem/renderer/rendererInterface.d.ts +9 -0
- package/lib/_queenSystem/renderer/rendererInterface.js +2 -0
- package/lib/data/actionRegistry.d.ts +56 -0
- package/lib/data/actionRegistry.js +60 -0
- package/lib/data/cardRegistry.d.ts +1162 -0
- package/lib/data/cardRegistry.js +716 -0
- package/lib/data/deckRegistry.d.ts +19 -0
- package/lib/data/deckRegistry.js +41 -0
- package/lib/data/effectRegistry.d.ts +465 -0
- package/lib/data/effectRegistry.js +151 -0
- package/lib/data/effectTypeRegistry.d.ts +14 -0
- package/lib/data/effectTypeRegistry.js +14 -0
- package/lib/data/operatorRegistry.d.ts +92 -0
- package/lib/data/operatorRegistry.js +82 -0
- package/lib/data/rarityRegistry.d.ts +28 -0
- package/lib/data/rarityRegistry.js +63 -0
- package/lib/data/registryRegistry.d.ts +10 -0
- package/lib/data/registryRegistry.js +14 -0
- package/lib/data/subtypeRegistry.d.ts +15 -0
- package/lib/data/subtypeRegistry.js +15 -0
- package/lib/data/systemRegistry.d.ts +253 -0
- package/lib/data/systemRegistry.js +56 -0
- package/lib/data/zoneRegistry.d.ts +43 -0
- package/lib/data/zoneRegistry.js +157 -0
- package/lib/effectTextParser/index.d.ts +42 -0
- package/lib/effectTextParser/index.js +316 -0
- package/lib/global/index.d.ts +8 -0
- package/lib/global/index.js +12 -0
- package/lib/index.d.ts +6344 -0
- package/lib/index.js +213 -0
- package/lib/specificEffects/e_cond.d.ts +11 -0
- package/lib/specificEffects/e_cond.js +36 -0
- package/lib/specificEffects/e_fruit.d.ts +3 -0
- package/lib/specificEffects/e_fruit.js +187 -0
- package/lib/specificEffects/e_generic.d.ts +191 -0
- package/lib/specificEffects/e_generic.js +662 -0
- package/lib/specificEffects/e_generic_cardTargetting.d.ts +38 -0
- package/lib/specificEffects/e_generic_cardTargetting.js +82 -0
- package/lib/specificEffects/e_generic_noneTargetting.d.ts +10 -0
- package/lib/specificEffects/e_generic_noneTargetting.js +26 -0
- package/lib/specificEffects/e_status.d.ts +80 -0
- package/lib/specificEffects/e_status.js +151 -0
- package/lib/specificEffects/e_test.d.ts +3 -0
- package/lib/specificEffects/e_test.js +21 -0
- package/lib/types/abstract/gameComponents/API.d.ts +19 -0
- package/lib/types/abstract/gameComponents/API.js +2 -0
- package/lib/types/abstract/gameComponents/card.d.ts +108 -0
- package/lib/types/abstract/gameComponents/card.js +771 -0
- package/lib/types/abstract/gameComponents/effect.d.ts +82 -0
- package/lib/types/abstract/gameComponents/effect.js +331 -0
- package/lib/types/abstract/gameComponents/effectSubtype.d.ts +22 -0
- package/lib/types/abstract/gameComponents/effectSubtype.js +40 -0
- package/lib/types/abstract/gameComponents/effectType.d.ts +11 -0
- package/lib/types/abstract/gameComponents/effectType.js +8 -0
- package/lib/types/abstract/gameComponents/settings.d.ts +80 -0
- package/lib/types/abstract/gameComponents/settings.js +68 -0
- package/lib/types/abstract/gameComponents/zone.d.ts +113 -0
- package/lib/types/abstract/gameComponents/zone.js +614 -0
- package/lib/types/abstract/gameComponents/zone_gridBased.d.ts +18 -0
- package/lib/types/abstract/gameComponents/zone_gridBased.js +58 -0
- package/lib/types/abstract/gameComponents/zone_stackBased.d.ts +13 -0
- package/lib/types/abstract/gameComponents/zone_stackBased.js +55 -0
- package/lib/types/abstract/generics/node.d.ts +23 -0
- package/lib/types/abstract/generics/node.js +46 -0
- package/lib/types/abstract/generics/position.d.ts +23 -0
- package/lib/types/abstract/generics/position.js +91 -0
- package/lib/types/abstract/generics/tree.d.ts +25 -0
- package/lib/types/abstract/generics/tree.js +153 -0
- package/lib/types/abstract/generics/universalResponse.d.ts +4 -0
- package/lib/types/abstract/generics/universalResponse.js +2 -0
- package/lib/types/abstract/generics/wraper.d.ts +21 -0
- package/lib/types/abstract/generics/wraper.js +56 -0
- package/lib/types/abstract/parser/component.d.ts +88 -0
- package/lib/types/abstract/parser/component.js +132 -0
- package/lib/types/abstract/parser/index.d.ts +6 -0
- package/lib/types/abstract/parser/index.js +28 -0
- package/lib/types/abstract/parser/modPack.d.ts +21 -0
- package/lib/types/abstract/parser/modPack.js +48 -0
- package/lib/types/abstract/parser/moduleInputObject.d.ts +12 -0
- package/lib/types/abstract/parser/moduleInputObject.js +21 -0
- package/lib/types/abstract/parser/options.d.ts +31 -0
- package/lib/types/abstract/parser/options.js +45 -0
- package/lib/types/abstract/serializedGameComponents/Gamestate.d.ts +46 -0
- package/lib/types/abstract/serializedGameComponents/Gamestate.js +70 -0
- package/lib/types/abstract/serializedGameComponents/Localized.d.ts +69 -0
- package/lib/types/abstract/serializedGameComponents/Localized.js +84 -0
- package/lib/types/defaultZones/ability.d.ts +10 -0
- package/lib/types/defaultZones/ability.js +22 -0
- package/lib/types/defaultZones/deck.d.ts +25 -0
- package/lib/types/defaultZones/deck.js +90 -0
- package/lib/types/defaultZones/drop.d.ts +5 -0
- package/lib/types/defaultZones/drop.js +13 -0
- package/lib/types/defaultZones/field.d.ts +11 -0
- package/lib/types/defaultZones/field.js +35 -0
- package/lib/types/defaultZones/grave.d.ts +8 -0
- package/lib/types/defaultZones/grave.js +21 -0
- package/lib/types/defaultZones/hand.d.ts +5 -0
- package/lib/types/defaultZones/hand.js +14 -0
- package/lib/types/defaultZones/storage.d.ts +9 -0
- package/lib/types/defaultZones/storage.js +21 -0
- package/lib/types/defaultZones/system.d.ts +12 -0
- package/lib/types/defaultZones/system.js +35 -0
- package/lib/types/defaultZones/void.d.ts +4 -0
- package/lib/types/defaultZones/void.js +10 -0
- package/lib/types/effects/effectSubtypes/subtype_chained.d.ts +10 -0
- package/lib/types/effects/effectSubtypes/subtype_chained.js +17 -0
- package/lib/types/effects/effectSubtypes/subtype_delayed.d.ts +9 -0
- package/lib/types/effects/effectSubtypes/subtype_delayed.js +16 -0
- package/lib/types/effects/effectSubtypes/subtype_fieldLock.d.ts +9 -0
- package/lib/types/effects/effectSubtypes/subtype_fieldLock.js +21 -0
- package/lib/types/effects/effectSubtypes/subtype_graveLock.d.ts +9 -0
- package/lib/types/effects/effectSubtypes/subtype_graveLock.js +21 -0
- package/lib/types/effects/effectSubtypes/subtype_hand_or_fieldLock.d.ts +9 -0
- package/lib/types/effects/effectSubtypes/subtype_hand_or_fieldLock.js +21 -0
- package/lib/types/effects/effectSubtypes/subtype_hardUnique.d.ts +9 -0
- package/lib/types/effects/effectSubtypes/subtype_hardUnique.js +15 -0
- package/lib/types/effects/effectSubtypes/subtype_instant.d.ts +8 -0
- package/lib/types/effects/effectSubtypes/subtype_instant.js +20 -0
- package/lib/types/effects/effectSubtypes/subtype_once.d.ts +12 -0
- package/lib/types/effects/effectSubtypes/subtype_once.js +27 -0
- package/lib/types/effects/effectSubtypes/subtype_unique.d.ts +9 -0
- package/lib/types/effects/effectSubtypes/subtype_unique.js +16 -0
- package/lib/types/effects/effectTypes/initEffect.d.ts +7 -0
- package/lib/types/effects/effectTypes/initEffect.js +23 -0
- package/lib/types/effects/effectTypes/lockEffect.d.ts +9 -0
- package/lib/types/effects/effectTypes/lockEffect.js +25 -0
- package/lib/types/effects/effectTypes/manualEffect.d.ts +9 -0
- package/lib/types/effects/effectTypes/manualEffect.js +18 -0
- package/lib/types/effects/effectTypes/passiveEffect.d.ts +9 -0
- package/lib/types/effects/effectTypes/passiveEffect.js +23 -0
- package/lib/types/effects/effectTypes/triggerEffect.d.ts +9 -0
- package/lib/types/effects/effectTypes/triggerEffect.js +28 -0
- package/lib/types/errors/cannotLoad.d.ts +5 -0
- package/lib/types/errors/cannotLoad.js +13 -0
- package/lib/types/errors/cardNotExist.d.ts +5 -0
- package/lib/types/errors/cardNotExist.js +13 -0
- package/lib/types/errors/cardNotInApplicableZone.d.ts +5 -0
- package/lib/types/errors/cardNotInApplicableZone.js +13 -0
- package/lib/types/errors/effectCondNotMet.d.ts +5 -0
- package/lib/types/errors/effectCondNotMet.js +13 -0
- package/lib/types/errors/effectNotExist.d.ts +5 -0
- package/lib/types/errors/effectNotExist.js +13 -0
- package/lib/types/errors/error.d.ts +17 -0
- package/lib/types/errors/error.js +42 -0
- package/lib/types/errors/incorrectActionType.d.ts +5 -0
- package/lib/types/errors/incorrectActionType.js +13 -0
- package/lib/types/errors/index.d.ts +16 -0
- package/lib/types/errors/index.js +36 -0
- package/lib/types/errors/invalidOrderMap.d.ts +6 -0
- package/lib/types/errors/invalidOrderMap.js +14 -0
- package/lib/types/errors/invalidPosition.d.ts +6 -0
- package/lib/types/errors/invalidPosition.js +13 -0
- package/lib/types/errors/subTypeOverrideConflict.d.ts +7 -0
- package/lib/types/errors/subTypeOverrideConflict.js +15 -0
- package/lib/types/errors/unknownError.d.ts +5 -0
- package/lib/types/errors/unknownError.js +13 -0
- package/lib/types/errors/unregisteredAction.d.ts +6 -0
- package/lib/types/errors/unregisteredAction.js +13 -0
- package/lib/types/errors/wrongEffectIdx.d.ts +5 -0
- package/lib/types/errors/wrongEffectIdx.js +14 -0
- package/lib/types/errors/zoneAttrConflict.d.ts +5 -0
- package/lib/types/errors/zoneAttrConflict.js +15 -0
- package/lib/types/errors/zoneFull.d.ts +5 -0
- package/lib/types/errors/zoneFull.js +13 -0
- package/lib/types/errors/zoneNotExist.d.ts +5 -0
- package/lib/types/errors/zoneNotExist.js +13 -0
- package/lib/types/misc.d.ts +97 -0
- package/lib/types/misc.js +8 -0
- package/lib/types/mods/effectTextParserModule.d.ts +16 -0
- package/lib/types/mods/effectTextParserModule.js +81 -0
- package/lib/types/mods/gameModule.d.ts +5 -0
- package/lib/types/mods/gameModule.js +8 -0
- package/lib/utils/index.d.ts +78 -0
- package/lib/utils/index.js +562 -0
- package/package.json +45 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import type Card from "./card";
|
|
2
|
+
import type res from "../generics/universalResponse";
|
|
3
|
+
import Position from "../generics/position";
|
|
4
|
+
import { playerTypeID, zoneRegistry, type zoneData } from "../../../data/zoneRegistry";
|
|
5
|
+
import type { dry_card, dry_system, dry_position, inputData } from "../../../data/systemRegistry";
|
|
6
|
+
import { Action } from "../../../_queenSystem/handler/actionGenrator";
|
|
7
|
+
import type { Positionable, Player_specific, HasTypesArr, id_able, Position_like } from "../../misc";
|
|
8
|
+
import { cardNotInApplicableZone, zoneAttrConflict, invalidPosition } from "../../errors";
|
|
9
|
+
import { identificationInfo } from "../../../data/systemRegistry";
|
|
10
|
+
import type { inputRequester, inputRequester_finalized } from "../../../_queenSystem/handler/actionInputGenerator";
|
|
11
|
+
declare class Zone<T_cull_zone_res extends inputData[] | undefined = undefined, T_cull_interact extends inputData[] | undefined = undefined, Requester_T_zone_res extends inputRequester<any, any, inputData[]> | undefined = T_cull_zone_res extends Array<inputData> ? inputRequester<T_cull_zone_res[0]["type"], T_cull_zone_res, T_cull_zone_res> : undefined, Requester_T_interact extends inputRequester<any, any, inputData[]> | undefined = T_cull_interact extends Array<inputData> ? inputRequester<T_cull_interact[0]["type"], T_cull_interact, T_cull_interact> : undefined> {
|
|
12
|
+
attr: Map<string, any>;
|
|
13
|
+
cardArr: (Card | undefined)[];
|
|
14
|
+
types: ReadonlyArray<number>;
|
|
15
|
+
readonly dataID: string;
|
|
16
|
+
readonly name: string;
|
|
17
|
+
constructor(id: number, //changes on insert
|
|
18
|
+
name: string, //fixxed identifier
|
|
19
|
+
dataID: string, classID?: string, playerType?: playerTypeID | -1, playerIndex?: number, data?: zoneData);
|
|
20
|
+
get attrArr(): number[];
|
|
21
|
+
get playerIndex(): number;
|
|
22
|
+
get playerType(): number;
|
|
23
|
+
get classID(): string;
|
|
24
|
+
get isFull(): boolean;
|
|
25
|
+
get valid(): boolean;
|
|
26
|
+
get posBound(): number[];
|
|
27
|
+
set posBound(bound: number[]);
|
|
28
|
+
get priority(): number;
|
|
29
|
+
get id(): number;
|
|
30
|
+
set id(newVal: number);
|
|
31
|
+
get posLength(): number;
|
|
32
|
+
get shape(): number[];
|
|
33
|
+
get lastPos(): Position;
|
|
34
|
+
get firstPos(): Position;
|
|
35
|
+
get top(): Position;
|
|
36
|
+
get bottom(): Position;
|
|
37
|
+
getCardByPosition(p: Position): Card | undefined;
|
|
38
|
+
isOpposite(c1: Positionable, c2: Positionable): boolean;
|
|
39
|
+
isOpposite(z: Player_specific & HasTypesArr): boolean;
|
|
40
|
+
getOppositeZone<T extends Player_specific & HasTypesArr>(zoneArr: ReadonlyArray<T>): T[];
|
|
41
|
+
getOppositeCards(c: Card | dry_card): Card[];
|
|
42
|
+
get canReorderSelf(): boolean;
|
|
43
|
+
get canMoveTo(): boolean;
|
|
44
|
+
get canMoveFrom(): boolean;
|
|
45
|
+
get moveToNeedPosition(): boolean;
|
|
46
|
+
get isField(): boolean;
|
|
47
|
+
get isGrave(): boolean;
|
|
48
|
+
get minCapacity(): number;
|
|
49
|
+
set canReorderSelf(value: boolean);
|
|
50
|
+
set canMoveTo(value: boolean);
|
|
51
|
+
set canMoveFrom(value: boolean);
|
|
52
|
+
set moveToNeedPosition(value: boolean);
|
|
53
|
+
set minCapacity(value: number);
|
|
54
|
+
get capacity(): number;
|
|
55
|
+
set capacity(newCap: number);
|
|
56
|
+
setArbitraryAttribute(value: number): void;
|
|
57
|
+
hasArbitraryAttribute(valueToCheck: number): boolean;
|
|
58
|
+
findIndex(cid?: string): number;
|
|
59
|
+
applyFuncToID<M>(func: (c: Card) => M | undefined, cid?: string): M | undefined;
|
|
60
|
+
protected isPositionInBounds(p: Position): boolean;
|
|
61
|
+
validatePosition(p?: Position): boolean | undefined;
|
|
62
|
+
protected positionToIndex(p?: Position): number;
|
|
63
|
+
isPositionOccupied(p?: Position): [number, boolean];
|
|
64
|
+
getAction_add(s: dry_system, c: Card, p?: Position, cause?: identificationInfo): Action;
|
|
65
|
+
getAction_remove(s: dry_system, c: Card, newPos: Position, cause?: identificationInfo): zoneAttrConflict | import("../../../_queenSystem/handler/actionGenrator").Action_class<[import("../../../data/systemRegistry").identificationInfo_card, import("../../../data/systemRegistry").identificationInfo_pos], never, {}>;
|
|
66
|
+
getAction_move(s: dry_system, c: Card, newPos: Position, cause?: identificationInfo): zoneAttrConflict | cardNotInApplicableZone | invalidPosition | import("../../../_queenSystem/handler/actionGenrator").Action_class<[import("../../../data/systemRegistry").identificationInfo_card, import("../../../data/systemRegistry").identificationInfo_pos], never, {}>;
|
|
67
|
+
protected generateShuffleMap(): Map<number, number>;
|
|
68
|
+
getAction_shuffle(s: dry_system, cause?: identificationInfo): Action<"a_shuffle"> | zoneAttrConflict;
|
|
69
|
+
protected addToIndex(c: Card, toIndex: number): res;
|
|
70
|
+
add(c: Card, p1: Position): res;
|
|
71
|
+
remove(c: Card): res;
|
|
72
|
+
move(c: Card, p: Position): res;
|
|
73
|
+
protected reorder(orderMap: Map<number, number>): boolean;
|
|
74
|
+
protected isValidOrderMap(orderMap: Map<number, number>, arrayLength: number): boolean;
|
|
75
|
+
shuffle(orderMap: Map<number, number>): res;
|
|
76
|
+
turnReset(a: Action): import("../../../_queenSystem/handler/actionGenrator").Action_class<identificationInfo[], any, any>[];
|
|
77
|
+
getInput_ZoneRespond(a: Action, s: dry_system): Requester_T_zone_res | undefined;
|
|
78
|
+
getZoneRespond(a: Action, system: dry_system, input: T_cull_zone_res extends Array<inputData> ? inputRequester_finalized<T_cull_zone_res> : undefined): Action[];
|
|
79
|
+
getInput_interact(s: dry_system, cause: identificationInfo): Requester_T_interact | undefined;
|
|
80
|
+
interact(s: dry_system, cause: identificationInfo, input: T_cull_interact extends Array<inputData> ? inputRequester_finalized<T_cull_interact> : undefined): Action[];
|
|
81
|
+
getCanRespondMap(a: Action, system: dry_system): Map<dry_card, number[]>;
|
|
82
|
+
handleCardNotExist(func: string, line?: number): res;
|
|
83
|
+
handleInvalidPos(cid: string | undefined, p: Position, func: string, line?: number): res;
|
|
84
|
+
handleNoMoveTo(c: Card, func: string, line?: number): res;
|
|
85
|
+
handleNoMoveFrom(c: Card, func: string, line?: number): res;
|
|
86
|
+
handleNoReorder(func: string, line?: number): res;
|
|
87
|
+
handleFull(c: Card, func: string, line?: number): res;
|
|
88
|
+
handleCardNotInApplicableZone(c: Card, func: string, line?: number): res;
|
|
89
|
+
handleInvalidOrderMap(orderMap: Map<number, number>, func: string, line?: number): res;
|
|
90
|
+
handleBelowMinimum(c: Card, func: string, line?: number): res;
|
|
91
|
+
protected handleOccupiedSwap(c: Card, index: number, func: string, line?: number): res;
|
|
92
|
+
protected handleOccupiedPush(c: Card, index: number, func: string, line?: number): res;
|
|
93
|
+
handleOccupied(c: Card, index: number, func: string, line?: number): res;
|
|
94
|
+
forceCardArrContent(newCardArr: Card[], shuffle?: boolean): void;
|
|
95
|
+
toString(spaces?: number, simplify?: boolean): string;
|
|
96
|
+
count(callback: (c: dry_card) => boolean): number;
|
|
97
|
+
has(obj: Positionable): boolean;
|
|
98
|
+
is(type: zoneRegistry): boolean;
|
|
99
|
+
is(obj: id_able | undefined): boolean;
|
|
100
|
+
of(pid: number): boolean;
|
|
101
|
+
of(obj: Player_specific | undefined): boolean;
|
|
102
|
+
get cardArr_filtered(): dry_card[];
|
|
103
|
+
getAllPos(): dry_position[];
|
|
104
|
+
isC2Behind(c1: Positionable, c2: Positionable): boolean;
|
|
105
|
+
isC2Infront(c1: Positionable, c2: Positionable): boolean;
|
|
106
|
+
getFrontPos(c: Positionable): dry_position;
|
|
107
|
+
getBackPos(c: Positionable): dry_position;
|
|
108
|
+
isOccupied(pos: Position_like): boolean;
|
|
109
|
+
isExposed(c1: Positionable): boolean;
|
|
110
|
+
}
|
|
111
|
+
export default Zone;
|
|
112
|
+
export { Zone };
|
|
113
|
+
export type Zone_T = Zone<inputData[] | undefined, inputData[] | undefined, inputRequester<any, any, inputData[]> | undefined, inputRequester<any, any, inputData[]> | undefined>;
|