@civ-clone/library-unit 0.1.0
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/.deepsource.toml +21 -0
- package/.gitattributes +2 -0
- package/.github/workflows/build-on-push.yml +14 -0
- package/.nvmrc +1 -0
- package/.prettierrc +4 -0
- package/Actions/Attack.d.ts +3 -0
- package/Actions/Attack.js +8 -0
- package/Actions/Attack.js.map +1 -0
- package/Actions/Attack.ts +5 -0
- package/Actions/BuildIrrigation.d.ts +3 -0
- package/Actions/BuildIrrigation.js +8 -0
- package/Actions/BuildIrrigation.js.map +1 -0
- package/Actions/BuildIrrigation.ts +5 -0
- package/Actions/BuildMine.d.ts +3 -0
- package/Actions/BuildMine.js +8 -0
- package/Actions/BuildMine.js.map +1 -0
- package/Actions/BuildMine.ts +5 -0
- package/Actions/BuildRailroad.d.ts +3 -0
- package/Actions/BuildRailroad.js +8 -0
- package/Actions/BuildRailroad.js.map +1 -0
- package/Actions/BuildRailroad.ts +5 -0
- package/Actions/BuildRoad.d.ts +3 -0
- package/Actions/BuildRoad.js +8 -0
- package/Actions/BuildRoad.js.map +1 -0
- package/Actions/BuildRoad.ts +5 -0
- package/Actions/CaptureCity.d.ts +3 -0
- package/Actions/CaptureCity.js +8 -0
- package/Actions/CaptureCity.js.map +1 -0
- package/Actions/CaptureCity.ts +5 -0
- package/Actions/ClearForest.d.ts +3 -0
- package/Actions/ClearForest.js +8 -0
- package/Actions/ClearForest.js.map +1 -0
- package/Actions/ClearForest.ts +5 -0
- package/Actions/ClearJungle.d.ts +3 -0
- package/Actions/ClearJungle.js +8 -0
- package/Actions/ClearJungle.js.map +1 -0
- package/Actions/ClearJungle.ts +5 -0
- package/Actions/ClearSwamp.d.ts +3 -0
- package/Actions/ClearSwamp.js +8 -0
- package/Actions/ClearSwamp.js.map +1 -0
- package/Actions/ClearSwamp.ts +5 -0
- package/Actions/Disband.d.ts +3 -0
- package/Actions/Disband.js +8 -0
- package/Actions/Disband.js.map +1 -0
- package/Actions/Disband.ts +5 -0
- package/Actions/Disembark.d.ts +3 -0
- package/Actions/Disembark.js +8 -0
- package/Actions/Disembark.js.map +1 -0
- package/Actions/Disembark.ts +5 -0
- package/Actions/Embark.d.ts +3 -0
- package/Actions/Embark.js +8 -0
- package/Actions/Embark.js.map +1 -0
- package/Actions/Embark.ts +5 -0
- package/Actions/Fortify.d.ts +3 -0
- package/Actions/Fortify.js +8 -0
- package/Actions/Fortify.js.map +1 -0
- package/Actions/Fortify.ts +5 -0
- package/Actions/FoundCity.d.ts +3 -0
- package/Actions/FoundCity.js +8 -0
- package/Actions/FoundCity.js.map +1 -0
- package/Actions/FoundCity.ts +5 -0
- package/Actions/Move.d.ts +3 -0
- package/Actions/Move.js +8 -0
- package/Actions/Move.js.map +1 -0
- package/Actions/Move.ts +5 -0
- package/Actions/NoOrders.d.ts +3 -0
- package/Actions/NoOrders.js +8 -0
- package/Actions/NoOrders.js.map +1 -0
- package/Actions/NoOrders.ts +5 -0
- package/Actions/Pillage.d.ts +3 -0
- package/Actions/Pillage.js +8 -0
- package/Actions/Pillage.js.map +1 -0
- package/Actions/Pillage.ts +5 -0
- package/Actions/PlantForest.d.ts +3 -0
- package/Actions/PlantForest.js +8 -0
- package/Actions/PlantForest.js.map +1 -0
- package/Actions/PlantForest.ts +5 -0
- package/Actions/Sleep.d.ts +3 -0
- package/Actions/Sleep.js +8 -0
- package/Actions/Sleep.js.map +1 -0
- package/Actions/Sleep.ts +5 -0
- package/Actions/SneakAttack.d.ts +19 -0
- package/Actions/SneakAttack.js +33 -0
- package/Actions/SneakAttack.js.map +1 -0
- package/Actions/SneakAttack.ts +37 -0
- package/Actions/SneakCaptureCity.d.ts +19 -0
- package/Actions/SneakCaptureCity.js +32 -0
- package/Actions/SneakCaptureCity.js.map +1 -0
- package/Actions/SneakCaptureCity.ts +34 -0
- package/Actions/Unload.d.ts +3 -0
- package/Actions/Unload.js +8 -0
- package/Actions/Unload.js.map +1 -0
- package/Actions/Unload.ts +5 -0
- package/Actions.d.ts +22 -0
- package/Actions.js +48 -0
- package/Actions.js.map +1 -0
- package/Actions.ts +22 -0
- package/LICENSE +21 -0
- package/PlayerActions/ActiveUnit.d.ts +3 -0
- package/PlayerActions/ActiveUnit.js +8 -0
- package/PlayerActions/ActiveUnit.js.map +1 -0
- package/PlayerActions/ActiveUnit.ts +5 -0
- package/PlayerActions/InactiveUnit.d.ts +3 -0
- package/PlayerActions/InactiveUnit.js +8 -0
- package/PlayerActions/InactiveUnit.js.map +1 -0
- package/PlayerActions/InactiveUnit.ts +5 -0
- package/PlayerActions.d.ts +2 -0
- package/PlayerActions.js +8 -0
- package/PlayerActions.js.map +1 -0
- package/PlayerActions.ts +2 -0
- package/README.md +3 -0
- package/Types/Air.d.ts +3 -0
- package/Types/Air.js +8 -0
- package/Types/Air.js.map +1 -0
- package/Types/Air.ts +5 -0
- package/Types/Fortifiable.d.ts +3 -0
- package/Types/Fortifiable.js +8 -0
- package/Types/Fortifiable.js.map +1 -0
- package/Types/Fortifiable.ts +5 -0
- package/Types/Land.d.ts +3 -0
- package/Types/Land.js +8 -0
- package/Types/Land.js.map +1 -0
- package/Types/Land.ts +5 -0
- package/Types/Naval.d.ts +3 -0
- package/Types/Naval.js +8 -0
- package/Types/Naval.js.map +1 -0
- package/Types/Naval.ts +5 -0
- package/Types/NavalTransport.d.ts +3 -0
- package/Types/NavalTransport.js +8 -0
- package/Types/NavalTransport.js.map +1 -0
- package/Types/NavalTransport.ts +5 -0
- package/Types/Transport.d.ts +6 -0
- package/Types/Transport.js +8 -0
- package/Types/Transport.js.map +1 -0
- package/Types/Transport.ts +8 -0
- package/Types/Worker.d.ts +3 -0
- package/Types/Worker.js +8 -0
- package/Types/Worker.js.map +1 -0
- package/Types/Worker.ts +5 -0
- package/Types.d.ts +7 -0
- package/Types.js +18 -0
- package/Types.js.map +1 -0
- package/Types.ts +7 -0
- package/UnitImprovements/Fortified.d.ts +3 -0
- package/UnitImprovements/Fortified.js +8 -0
- package/UnitImprovements/Fortified.js.map +1 -0
- package/UnitImprovements/Fortified.ts +5 -0
- package/UnitImprovements/Veteran.d.ts +3 -0
- package/UnitImprovements/Veteran.js +8 -0
- package/UnitImprovements/Veteran.js.map +1 -0
- package/UnitImprovements/Veteran.ts +5 -0
- package/UnitImprovements.d.ts +1 -0
- package/UnitImprovements.js +6 -0
- package/UnitImprovements.js.map +1 -0
- package/UnitImprovements.ts +1 -0
- package/Units/Artillery.d.ts +3 -0
- package/Units/Artillery.js +8 -0
- package/Units/Artillery.js.map +1 -0
- package/Units/Artillery.ts +5 -0
- package/Units/Battleship.d.ts +3 -0
- package/Units/Battleship.js +8 -0
- package/Units/Battleship.js.map +1 -0
- package/Units/Battleship.ts +5 -0
- package/Units/Bomber.d.ts +3 -0
- package/Units/Bomber.js +8 -0
- package/Units/Bomber.js.map +1 -0
- package/Units/Bomber.ts +5 -0
- package/Units/Cannon.d.ts +3 -0
- package/Units/Cannon.js +8 -0
- package/Units/Cannon.js.map +1 -0
- package/Units/Cannon.ts +5 -0
- package/Units/Caravan.d.ts +3 -0
- package/Units/Caravan.js +8 -0
- package/Units/Caravan.js.map +1 -0
- package/Units/Caravan.ts +5 -0
- package/Units/Carrier.d.ts +3 -0
- package/Units/Carrier.js +8 -0
- package/Units/Carrier.js.map +1 -0
- package/Units/Carrier.ts +5 -0
- package/Units/Catapult.d.ts +3 -0
- package/Units/Catapult.js +8 -0
- package/Units/Catapult.js.map +1 -0
- package/Units/Catapult.ts +5 -0
- package/Units/Chariot.d.ts +3 -0
- package/Units/Chariot.js +8 -0
- package/Units/Chariot.js.map +1 -0
- package/Units/Chariot.ts +5 -0
- package/Units/Cruiser.d.ts +3 -0
- package/Units/Cruiser.js +8 -0
- package/Units/Cruiser.js.map +1 -0
- package/Units/Cruiser.ts +5 -0
- package/Units/Diplomat.d.ts +3 -0
- package/Units/Diplomat.js +8 -0
- package/Units/Diplomat.js.map +1 -0
- package/Units/Diplomat.ts +5 -0
- package/Units/Fighter.d.ts +3 -0
- package/Units/Fighter.js +8 -0
- package/Units/Fighter.js.map +1 -0
- package/Units/Fighter.ts +5 -0
- package/Units/Frigate.d.ts +3 -0
- package/Units/Frigate.js +8 -0
- package/Units/Frigate.js.map +1 -0
- package/Units/Frigate.ts +5 -0
- package/Units/Horseman.d.ts +3 -0
- package/Units/Horseman.js +8 -0
- package/Units/Horseman.js.map +1 -0
- package/Units/Horseman.ts +5 -0
- package/Units/Ironclad.d.ts +3 -0
- package/Units/Ironclad.js +8 -0
- package/Units/Ironclad.js.map +1 -0
- package/Units/Ironclad.ts +5 -0
- package/Units/Knight.d.ts +3 -0
- package/Units/Knight.js +8 -0
- package/Units/Knight.js.map +1 -0
- package/Units/Knight.ts +5 -0
- package/Units/MechanizedInfantry.d.ts +3 -0
- package/Units/MechanizedInfantry.js +8 -0
- package/Units/MechanizedInfantry.js.map +1 -0
- package/Units/MechanizedInfantry.ts +5 -0
- package/Units/Musketman.d.ts +3 -0
- package/Units/Musketman.js +8 -0
- package/Units/Musketman.js.map +1 -0
- package/Units/Musketman.ts +5 -0
- package/Units/Nuclear.d.ts +3 -0
- package/Units/Nuclear.js +8 -0
- package/Units/Nuclear.js.map +1 -0
- package/Units/Nuclear.ts +5 -0
- package/Units/Rifleman.d.ts +3 -0
- package/Units/Rifleman.js +8 -0
- package/Units/Rifleman.js.map +1 -0
- package/Units/Rifleman.ts +5 -0
- package/Units/Sail.d.ts +3 -0
- package/Units/Sail.js +8 -0
- package/Units/Sail.js.map +1 -0
- package/Units/Sail.ts +5 -0
- package/Units/Settlers.d.ts +3 -0
- package/Units/Settlers.js +8 -0
- package/Units/Settlers.js.map +1 -0
- package/Units/Settlers.ts +5 -0
- package/Units/Spearman.d.ts +3 -0
- package/Units/Spearman.js +8 -0
- package/Units/Spearman.js.map +1 -0
- package/Units/Spearman.ts +5 -0
- package/Units/Submarine.d.ts +3 -0
- package/Units/Submarine.js +8 -0
- package/Units/Submarine.js.map +1 -0
- package/Units/Submarine.ts +5 -0
- package/Units/Swordman.d.ts +3 -0
- package/Units/Swordman.js +8 -0
- package/Units/Swordman.js.map +1 -0
- package/Units/Swordman.ts +5 -0
- package/Units/Tank.d.ts +3 -0
- package/Units/Tank.js +8 -0
- package/Units/Tank.js.map +1 -0
- package/Units/Tank.ts +5 -0
- package/Units/Transport.d.ts +3 -0
- package/Units/Transport.js +8 -0
- package/Units/Transport.js.map +1 -0
- package/Units/Transport.ts +5 -0
- package/Units/Trireme.d.ts +3 -0
- package/Units/Trireme.js +8 -0
- package/Units/Trireme.js.map +1 -0
- package/Units/Trireme.ts +5 -0
- package/Units/Warrior.d.ts +3 -0
- package/Units/Warrior.js +8 -0
- package/Units/Warrior.js.map +1 -0
- package/Units/Warrior.ts +5 -0
- package/Units.d.ts +28 -0
- package/Units.js +60 -0
- package/Units.js.map +1 -0
- package/Units.ts +28 -0
- package/package.json +83 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RuleRegistry,
|
|
3
|
+
instance as ruleRegistryInstance,
|
|
4
|
+
} from '@civ-clone/core-rule/RuleRegistry';
|
|
5
|
+
import {
|
|
6
|
+
UnitRegistry,
|
|
7
|
+
instance as unitRegistryInstance,
|
|
8
|
+
} from '@civ-clone/core-unit/UnitRegistry';
|
|
9
|
+
import { Attack } from '../Actions';
|
|
10
|
+
import Player from '@civ-clone/core-player/Player';
|
|
11
|
+
import Tile from '@civ-clone/core-world/Tile';
|
|
12
|
+
import Unit from '@civ-clone/core-unit/Unit';
|
|
13
|
+
|
|
14
|
+
export class SneakAttack extends Attack {
|
|
15
|
+
#enemy: Player;
|
|
16
|
+
|
|
17
|
+
constructor(
|
|
18
|
+
from: Tile,
|
|
19
|
+
to: Tile,
|
|
20
|
+
unit: Unit,
|
|
21
|
+
enemy: Player,
|
|
22
|
+
ruleRegistry: RuleRegistry = ruleRegistryInstance,
|
|
23
|
+
unitRegistry: UnitRegistry = unitRegistryInstance
|
|
24
|
+
) {
|
|
25
|
+
super(from, to, unit, ruleRegistry, unitRegistry);
|
|
26
|
+
|
|
27
|
+
this.#enemy = enemy;
|
|
28
|
+
|
|
29
|
+
this.addKey('enemy');
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
enemy(): Player {
|
|
33
|
+
return this.#enemy;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export default SneakAttack;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { RuleRegistry } from '@civ-clone/core-rule/RuleRegistry';
|
|
2
|
+
import { CaptureCity } from '../Actions';
|
|
3
|
+
import City from '@civ-clone/core-city/City';
|
|
4
|
+
import Player from '@civ-clone/core-player/Player';
|
|
5
|
+
import Tile from '@civ-clone/core-world/Tile';
|
|
6
|
+
import Unit from '@civ-clone/core-unit/Unit';
|
|
7
|
+
export declare class SneakCaptureCity extends CaptureCity {
|
|
8
|
+
#private;
|
|
9
|
+
constructor(
|
|
10
|
+
from: Tile,
|
|
11
|
+
to: Tile,
|
|
12
|
+
unit: Unit,
|
|
13
|
+
city: City,
|
|
14
|
+
enemy: Player,
|
|
15
|
+
ruleRegistry?: RuleRegistry
|
|
16
|
+
);
|
|
17
|
+
enemy(): Player;
|
|
18
|
+
}
|
|
19
|
+
export default SneakCaptureCity;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
3
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
4
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
5
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
6
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
7
|
+
};
|
|
8
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
9
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
10
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
|
+
};
|
|
13
|
+
var _SneakCaptureCity_enemy;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.SneakCaptureCity = void 0;
|
|
16
|
+
const RuleRegistry_1 = require("@civ-clone/core-rule/RuleRegistry");
|
|
17
|
+
const Actions_1 = require("../Actions");
|
|
18
|
+
class SneakCaptureCity extends Actions_1.CaptureCity {
|
|
19
|
+
constructor(from, to, unit, city, enemy, ruleRegistry = RuleRegistry_1.instance) {
|
|
20
|
+
super(from, to, unit, city, ruleRegistry);
|
|
21
|
+
_SneakCaptureCity_enemy.set(this, void 0);
|
|
22
|
+
__classPrivateFieldSet(this, _SneakCaptureCity_enemy, enemy, "f");
|
|
23
|
+
this.addKey('enemy');
|
|
24
|
+
}
|
|
25
|
+
enemy() {
|
|
26
|
+
return __classPrivateFieldGet(this, _SneakCaptureCity_enemy, "f");
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.SneakCaptureCity = SneakCaptureCity;
|
|
30
|
+
_SneakCaptureCity_enemy = new WeakMap();
|
|
31
|
+
exports.default = SneakCaptureCity;
|
|
32
|
+
//# sourceMappingURL=SneakCaptureCity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SneakCaptureCity.js","sourceRoot":"","sources":["SneakCaptureCity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,oEAG2C;AAC3C,wCAAyC;AAMzC,MAAa,gBAAiB,SAAQ,qBAAW;IAG/C,YACE,IAAU,EACV,EAAQ,EACR,IAAU,EACV,IAAU,EACV,KAAa,EACb,eAA6B,uBAAoB;QAEjD,KAAK,CAAC,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,CAAC,CAAC;QAV5C,0CAAe;QAYb,uBAAA,IAAI,2BAAU,KAAK,MAAA,CAAC;QAEpB,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACvB,CAAC;IAED,KAAK;QACH,OAAO,uBAAA,IAAI,+BAAO,CAAC;IACrB,CAAC;CACF;AArBD,4CAqBC;;AAED,kBAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RuleRegistry,
|
|
3
|
+
instance as ruleRegistryInstance,
|
|
4
|
+
} from '@civ-clone/core-rule/RuleRegistry';
|
|
5
|
+
import { CaptureCity } from '../Actions';
|
|
6
|
+
import City from '@civ-clone/core-city/City';
|
|
7
|
+
import Player from '@civ-clone/core-player/Player';
|
|
8
|
+
import Tile from '@civ-clone/core-world/Tile';
|
|
9
|
+
import Unit from '@civ-clone/core-unit/Unit';
|
|
10
|
+
|
|
11
|
+
export class SneakCaptureCity extends CaptureCity {
|
|
12
|
+
#enemy: Player;
|
|
13
|
+
|
|
14
|
+
constructor(
|
|
15
|
+
from: Tile,
|
|
16
|
+
to: Tile,
|
|
17
|
+
unit: Unit,
|
|
18
|
+
city: City,
|
|
19
|
+
enemy: Player,
|
|
20
|
+
ruleRegistry: RuleRegistry = ruleRegistryInstance
|
|
21
|
+
) {
|
|
22
|
+
super(from, to, unit, city, ruleRegistry);
|
|
23
|
+
|
|
24
|
+
this.#enemy = enemy;
|
|
25
|
+
|
|
26
|
+
this.addKey('enemy');
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
enemy(): Player {
|
|
30
|
+
return this.#enemy;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default SneakCaptureCity;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Unload = void 0;
|
|
4
|
+
const Unload_1 = require("@civ-clone/base-unit-action-unload/Unload");
|
|
5
|
+
var Unload_2 = require("@civ-clone/base-unit-action-unload/Unload");
|
|
6
|
+
Object.defineProperty(exports, "Unload", { enumerable: true, get: function () { return Unload_2.Unload; } });
|
|
7
|
+
exports.default = Unload_1.Unload;
|
|
8
|
+
//# sourceMappingURL=Unload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Unload.js","sourceRoot":"","sources":["Unload.ts"],"names":[],"mappings":";;;AAAA,sEAAmE;AAEnE,oEAAmE;AAA1D,gGAAA,MAAM,OAAA;AAEf,kBAAe,eAAM,CAAC"}
|
package/Actions.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { Attack } from './Actions/Attack';
|
|
2
|
+
export { BuildIrrigation } from './Actions/BuildIrrigation';
|
|
3
|
+
export { BuildMine } from './Actions/BuildMine';
|
|
4
|
+
export { BuildRailroad } from './Actions/BuildRailroad';
|
|
5
|
+
export { BuildRoad } from './Actions/BuildRoad';
|
|
6
|
+
export { CaptureCity } from './Actions/CaptureCity';
|
|
7
|
+
export { ClearForest } from './Actions/ClearForest';
|
|
8
|
+
export { ClearJungle } from './Actions/ClearJungle';
|
|
9
|
+
export { ClearSwamp } from './Actions/ClearSwamp';
|
|
10
|
+
export { Disband } from './Actions/Disband';
|
|
11
|
+
export { Disembark } from './Actions/Disembark';
|
|
12
|
+
export { Embark } from './Actions/Embark';
|
|
13
|
+
export { Fortify } from './Actions/Fortify';
|
|
14
|
+
export { FoundCity } from './Actions/FoundCity';
|
|
15
|
+
export { Move } from './Actions/Move';
|
|
16
|
+
export { NoOrders } from './Actions/NoOrders';
|
|
17
|
+
export { Pillage } from './Actions/Pillage';
|
|
18
|
+
export { PlantForest } from './Actions/PlantForest';
|
|
19
|
+
export { Sleep } from './Actions/Sleep';
|
|
20
|
+
export { SneakAttack } from './Actions/SneakAttack';
|
|
21
|
+
export { SneakCaptureCity } from './Actions/SneakCaptureCity';
|
|
22
|
+
export { Unload } from './Actions/Unload';
|
package/Actions.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Unload = exports.SneakCaptureCity = exports.SneakAttack = exports.Sleep = exports.PlantForest = exports.Pillage = exports.NoOrders = exports.Move = exports.FoundCity = exports.Fortify = exports.Embark = exports.Disembark = exports.Disband = exports.ClearSwamp = exports.ClearJungle = exports.ClearForest = exports.CaptureCity = exports.BuildRoad = exports.BuildRailroad = exports.BuildMine = exports.BuildIrrigation = exports.Attack = void 0;
|
|
4
|
+
var Attack_1 = require("./Actions/Attack");
|
|
5
|
+
Object.defineProperty(exports, "Attack", { enumerable: true, get: function () { return Attack_1.Attack; } });
|
|
6
|
+
var BuildIrrigation_1 = require("./Actions/BuildIrrigation");
|
|
7
|
+
Object.defineProperty(exports, "BuildIrrigation", { enumerable: true, get: function () { return BuildIrrigation_1.BuildIrrigation; } });
|
|
8
|
+
var BuildMine_1 = require("./Actions/BuildMine");
|
|
9
|
+
Object.defineProperty(exports, "BuildMine", { enumerable: true, get: function () { return BuildMine_1.BuildMine; } });
|
|
10
|
+
var BuildRailroad_1 = require("./Actions/BuildRailroad");
|
|
11
|
+
Object.defineProperty(exports, "BuildRailroad", { enumerable: true, get: function () { return BuildRailroad_1.BuildRailroad; } });
|
|
12
|
+
var BuildRoad_1 = require("./Actions/BuildRoad");
|
|
13
|
+
Object.defineProperty(exports, "BuildRoad", { enumerable: true, get: function () { return BuildRoad_1.BuildRoad; } });
|
|
14
|
+
var CaptureCity_1 = require("./Actions/CaptureCity");
|
|
15
|
+
Object.defineProperty(exports, "CaptureCity", { enumerable: true, get: function () { return CaptureCity_1.CaptureCity; } });
|
|
16
|
+
var ClearForest_1 = require("./Actions/ClearForest");
|
|
17
|
+
Object.defineProperty(exports, "ClearForest", { enumerable: true, get: function () { return ClearForest_1.ClearForest; } });
|
|
18
|
+
var ClearJungle_1 = require("./Actions/ClearJungle");
|
|
19
|
+
Object.defineProperty(exports, "ClearJungle", { enumerable: true, get: function () { return ClearJungle_1.ClearJungle; } });
|
|
20
|
+
var ClearSwamp_1 = require("./Actions/ClearSwamp");
|
|
21
|
+
Object.defineProperty(exports, "ClearSwamp", { enumerable: true, get: function () { return ClearSwamp_1.ClearSwamp; } });
|
|
22
|
+
var Disband_1 = require("./Actions/Disband");
|
|
23
|
+
Object.defineProperty(exports, "Disband", { enumerable: true, get: function () { return Disband_1.Disband; } });
|
|
24
|
+
var Disembark_1 = require("./Actions/Disembark");
|
|
25
|
+
Object.defineProperty(exports, "Disembark", { enumerable: true, get: function () { return Disembark_1.Disembark; } });
|
|
26
|
+
var Embark_1 = require("./Actions/Embark");
|
|
27
|
+
Object.defineProperty(exports, "Embark", { enumerable: true, get: function () { return Embark_1.Embark; } });
|
|
28
|
+
var Fortify_1 = require("./Actions/Fortify");
|
|
29
|
+
Object.defineProperty(exports, "Fortify", { enumerable: true, get: function () { return Fortify_1.Fortify; } });
|
|
30
|
+
var FoundCity_1 = require("./Actions/FoundCity");
|
|
31
|
+
Object.defineProperty(exports, "FoundCity", { enumerable: true, get: function () { return FoundCity_1.FoundCity; } });
|
|
32
|
+
var Move_1 = require("./Actions/Move");
|
|
33
|
+
Object.defineProperty(exports, "Move", { enumerable: true, get: function () { return Move_1.Move; } });
|
|
34
|
+
var NoOrders_1 = require("./Actions/NoOrders");
|
|
35
|
+
Object.defineProperty(exports, "NoOrders", { enumerable: true, get: function () { return NoOrders_1.NoOrders; } });
|
|
36
|
+
var Pillage_1 = require("./Actions/Pillage");
|
|
37
|
+
Object.defineProperty(exports, "Pillage", { enumerable: true, get: function () { return Pillage_1.Pillage; } });
|
|
38
|
+
var PlantForest_1 = require("./Actions/PlantForest");
|
|
39
|
+
Object.defineProperty(exports, "PlantForest", { enumerable: true, get: function () { return PlantForest_1.PlantForest; } });
|
|
40
|
+
var Sleep_1 = require("./Actions/Sleep");
|
|
41
|
+
Object.defineProperty(exports, "Sleep", { enumerable: true, get: function () { return Sleep_1.Sleep; } });
|
|
42
|
+
var SneakAttack_1 = require("./Actions/SneakAttack");
|
|
43
|
+
Object.defineProperty(exports, "SneakAttack", { enumerable: true, get: function () { return SneakAttack_1.SneakAttack; } });
|
|
44
|
+
var SneakCaptureCity_1 = require("./Actions/SneakCaptureCity");
|
|
45
|
+
Object.defineProperty(exports, "SneakCaptureCity", { enumerable: true, get: function () { return SneakCaptureCity_1.SneakCaptureCity; } });
|
|
46
|
+
var Unload_1 = require("./Actions/Unload");
|
|
47
|
+
Object.defineProperty(exports, "Unload", { enumerable: true, get: function () { return Unload_1.Unload; } });
|
|
48
|
+
//# sourceMappingURL=Actions.js.map
|
package/Actions.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Actions.js","sourceRoot":"","sources":["Actions.ts"],"names":[],"mappings":";;;AAAA,2CAA0C;AAAjC,gGAAA,MAAM,OAAA;AACf,6DAA4D;AAAnD,kHAAA,eAAe,OAAA;AACxB,iDAAgD;AAAvC,sGAAA,SAAS,OAAA;AAClB,yDAAwD;AAA/C,8GAAA,aAAa,OAAA;AACtB,iDAAgD;AAAvC,sGAAA,SAAS,OAAA;AAClB,qDAAoD;AAA3C,0GAAA,WAAW,OAAA;AACpB,qDAAoD;AAA3C,0GAAA,WAAW,OAAA;AACpB,qDAAoD;AAA3C,0GAAA,WAAW,OAAA;AACpB,mDAAkD;AAAzC,wGAAA,UAAU,OAAA;AACnB,6CAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,iDAAgD;AAAvC,sGAAA,SAAS,OAAA;AAClB,2CAA0C;AAAjC,gGAAA,MAAM,OAAA;AACf,6CAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,iDAAgD;AAAvC,sGAAA,SAAS,OAAA;AAClB,uCAAsC;AAA7B,4FAAA,IAAI,OAAA;AACb,+CAA8C;AAArC,oGAAA,QAAQ,OAAA;AACjB,6CAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,qDAAoD;AAA3C,0GAAA,WAAW,OAAA;AACpB,yCAAwC;AAA/B,8FAAA,KAAK,OAAA;AACd,qDAAoD;AAA3C,0GAAA,WAAW,OAAA;AACpB,+DAA8D;AAArD,oHAAA,gBAAgB,OAAA;AACzB,2CAA0C;AAAjC,gGAAA,MAAM,OAAA"}
|
package/Actions.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { Attack } from './Actions/Attack';
|
|
2
|
+
export { BuildIrrigation } from './Actions/BuildIrrigation';
|
|
3
|
+
export { BuildMine } from './Actions/BuildMine';
|
|
4
|
+
export { BuildRailroad } from './Actions/BuildRailroad';
|
|
5
|
+
export { BuildRoad } from './Actions/BuildRoad';
|
|
6
|
+
export { CaptureCity } from './Actions/CaptureCity';
|
|
7
|
+
export { ClearForest } from './Actions/ClearForest';
|
|
8
|
+
export { ClearJungle } from './Actions/ClearJungle';
|
|
9
|
+
export { ClearSwamp } from './Actions/ClearSwamp';
|
|
10
|
+
export { Disband } from './Actions/Disband';
|
|
11
|
+
export { Disembark } from './Actions/Disembark';
|
|
12
|
+
export { Embark } from './Actions/Embark';
|
|
13
|
+
export { Fortify } from './Actions/Fortify';
|
|
14
|
+
export { FoundCity } from './Actions/FoundCity';
|
|
15
|
+
export { Move } from './Actions/Move';
|
|
16
|
+
export { NoOrders } from './Actions/NoOrders';
|
|
17
|
+
export { Pillage } from './Actions/Pillage';
|
|
18
|
+
export { PlantForest } from './Actions/PlantForest';
|
|
19
|
+
export { Sleep } from './Actions/Sleep';
|
|
20
|
+
export { SneakAttack } from './Actions/SneakAttack';
|
|
21
|
+
export { SneakCaptureCity } from './Actions/SneakCaptureCity';
|
|
22
|
+
export { Unload } from './Actions/Unload';
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Dom Hastings
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActiveUnit = void 0;
|
|
4
|
+
const ActiveUnit_1 = require("@civ-clone/base-player-action-active-unit/ActiveUnit");
|
|
5
|
+
var ActiveUnit_2 = require("@civ-clone/base-player-action-active-unit/ActiveUnit");
|
|
6
|
+
Object.defineProperty(exports, "ActiveUnit", { enumerable: true, get: function () { return ActiveUnit_2.ActiveUnit; } });
|
|
7
|
+
exports.default = ActiveUnit_1.ActiveUnit;
|
|
8
|
+
//# sourceMappingURL=ActiveUnit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActiveUnit.js","sourceRoot":"","sources":["ActiveUnit.ts"],"names":[],"mappings":";;;AAAA,qFAAkF;AAElF,mFAAkF;AAAzE,wGAAA,UAAU,OAAA;AAEnB,kBAAe,uBAAU,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InactiveUnit = void 0;
|
|
4
|
+
const InactiveUnit_1 = require("@civ-clone/base-player-action-inactive-unit/InactiveUnit");
|
|
5
|
+
var InactiveUnit_2 = require("@civ-clone/base-player-action-inactive-unit/InactiveUnit");
|
|
6
|
+
Object.defineProperty(exports, "InactiveUnit", { enumerable: true, get: function () { return InactiveUnit_2.InactiveUnit; } });
|
|
7
|
+
exports.default = InactiveUnit_1.InactiveUnit;
|
|
8
|
+
//# sourceMappingURL=InactiveUnit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InactiveUnit.js","sourceRoot":"","sources":["InactiveUnit.ts"],"names":[],"mappings":";;;AAAA,2FAAwF;AAExF,yFAAwF;AAA/E,4GAAA,YAAY,OAAA;AAErB,kBAAe,2BAAY,CAAC"}
|
package/PlayerActions.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InactiveUnit = exports.ActiveUnit = void 0;
|
|
4
|
+
var ActiveUnit_1 = require("./PlayerActions/ActiveUnit");
|
|
5
|
+
Object.defineProperty(exports, "ActiveUnit", { enumerable: true, get: function () { return ActiveUnit_1.ActiveUnit; } });
|
|
6
|
+
var InactiveUnit_1 = require("./PlayerActions/InactiveUnit");
|
|
7
|
+
Object.defineProperty(exports, "InactiveUnit", { enumerable: true, get: function () { return InactiveUnit_1.InactiveUnit; } });
|
|
8
|
+
//# sourceMappingURL=PlayerActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlayerActions.js","sourceRoot":"","sources":["PlayerActions.ts"],"names":[],"mappings":";;;AAAA,yDAAwD;AAA/C,wGAAA,UAAU,OAAA;AACnB,6DAA4D;AAAnD,4GAAA,YAAY,OAAA"}
|
package/PlayerActions.ts
ADDED
package/README.md
ADDED
package/Types/Air.d.ts
ADDED
package/Types/Air.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Air = void 0;
|
|
4
|
+
const Air_1 = require("@civ-clone/base-unit-type-air/Air");
|
|
5
|
+
var Air_2 = require("@civ-clone/base-unit-type-air/Air");
|
|
6
|
+
Object.defineProperty(exports, "Air", { enumerable: true, get: function () { return Air_2.Air; } });
|
|
7
|
+
exports.default = Air_1.Air;
|
|
8
|
+
//# sourceMappingURL=Air.js.map
|
package/Types/Air.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Air.js","sourceRoot":"","sources":["Air.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAExD,yDAAwD;AAA/C,0FAAA,GAAG,OAAA;AAEZ,kBAAe,SAAG,CAAC"}
|
package/Types/Air.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Fortifiable = void 0;
|
|
4
|
+
const Fortifiable_1 = require("@civ-clone/base-unit-type-fortifiable/Fortifiable");
|
|
5
|
+
var Fortifiable_2 = require("@civ-clone/base-unit-type-fortifiable/Fortifiable");
|
|
6
|
+
Object.defineProperty(exports, "Fortifiable", { enumerable: true, get: function () { return Fortifiable_2.Fortifiable; } });
|
|
7
|
+
exports.default = Fortifiable_1.Fortifiable;
|
|
8
|
+
//# sourceMappingURL=Fortifiable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Fortifiable.js","sourceRoot":"","sources":["Fortifiable.ts"],"names":[],"mappings":";;;AAAA,mFAAgF;AAEhF,iFAAgF;AAAvE,0GAAA,WAAW,OAAA;AAEpB,kBAAe,yBAAW,CAAC"}
|
package/Types/Land.d.ts
ADDED
package/Types/Land.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Land = void 0;
|
|
4
|
+
const Land_1 = require("@civ-clone/base-unit-type-land/Land");
|
|
5
|
+
var Land_2 = require("@civ-clone/base-unit-type-land/Land");
|
|
6
|
+
Object.defineProperty(exports, "Land", { enumerable: true, get: function () { return Land_2.Land; } });
|
|
7
|
+
exports.default = Land_1.Land;
|
|
8
|
+
//# sourceMappingURL=Land.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Land.js","sourceRoot":"","sources":["Land.ts"],"names":[],"mappings":";;;AAAA,8DAA2D;AAE3D,4DAA2D;AAAlD,4FAAA,IAAI,OAAA;AAEb,kBAAe,WAAI,CAAC"}
|
package/Types/Land.ts
ADDED
package/Types/Naval.d.ts
ADDED
package/Types/Naval.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Naval = void 0;
|
|
4
|
+
const Naval_1 = require("@civ-clone/base-unit-type-naval/Naval");
|
|
5
|
+
var Naval_2 = require("@civ-clone/base-unit-type-naval/Naval");
|
|
6
|
+
Object.defineProperty(exports, "Naval", { enumerable: true, get: function () { return Naval_2.Naval; } });
|
|
7
|
+
exports.default = Naval_1.Naval;
|
|
8
|
+
//# sourceMappingURL=Naval.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Naval.js","sourceRoot":"","sources":["Naval.ts"],"names":[],"mappings":";;;AAAA,iEAA8D;AAE9D,+DAA8D;AAArD,8FAAA,KAAK,OAAA;AAEd,kBAAe,aAAK,CAAC"}
|
package/Types/Naval.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NavalTransport = void 0;
|
|
4
|
+
const NavalTransport_1 = require("@civ-clone/base-unit-type-naval-transport/NavalTransport");
|
|
5
|
+
var NavalTransport_2 = require("@civ-clone/base-unit-type-naval-transport/NavalTransport");
|
|
6
|
+
Object.defineProperty(exports, "NavalTransport", { enumerable: true, get: function () { return NavalTransport_2.NavalTransport; } });
|
|
7
|
+
exports.default = NavalTransport_1.NavalTransport;
|
|
8
|
+
//# sourceMappingURL=NavalTransport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavalTransport.js","sourceRoot":"","sources":["NavalTransport.ts"],"names":[],"mappings":";;;AAAA,6FAA0F;AAE1F,2FAA0F;AAAjF,gHAAA,cAAc,OAAA;AAEvB,kBAAe,+BAAc,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Transport = void 0;
|
|
4
|
+
const Transport_1 = require("@civ-clone/core-unit-transport/Transport");
|
|
5
|
+
var Transport_2 = require("@civ-clone/core-unit-transport/Transport");
|
|
6
|
+
Object.defineProperty(exports, "Transport", { enumerable: true, get: function () { return Transport_2.Transport; } });
|
|
7
|
+
exports.default = Transport_1.Transport;
|
|
8
|
+
//# sourceMappingURL=Transport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Transport.js","sourceRoot":"","sources":["Transport.ts"],"names":[],"mappings":";;;AAAA,wEAAqE;AAErE,sEAGkD;AADhD,sGAAA,SAAS,OAAA;AAGX,kBAAe,qBAAS,CAAC"}
|
package/Types/Worker.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Worker = void 0;
|
|
4
|
+
const Worker_1 = require("@civ-clone/base-unit-type-worker/Worker");
|
|
5
|
+
var Worker_2 = require("@civ-clone/base-unit-type-worker/Worker");
|
|
6
|
+
Object.defineProperty(exports, "Worker", { enumerable: true, get: function () { return Worker_2.Worker; } });
|
|
7
|
+
exports.default = Worker_1.Worker;
|
|
8
|
+
//# sourceMappingURL=Worker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Worker.js","sourceRoot":"","sources":["Worker.ts"],"names":[],"mappings":";;;AAAA,oEAAiE;AAEjE,kEAAiE;AAAxD,gGAAA,MAAM,OAAA;AAEf,kBAAe,eAAM,CAAC"}
|
package/Types/Worker.ts
ADDED
package/Types.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { Air } from './Types/Air';
|
|
2
|
+
export { Fortifiable } from './Types/Fortifiable';
|
|
3
|
+
export { Land } from './Types/Land';
|
|
4
|
+
export { Naval } from './Types/Naval';
|
|
5
|
+
export { NavalTransport } from './Types/NavalTransport';
|
|
6
|
+
export { ITransport, Transport } from './Types/Transport';
|
|
7
|
+
export { Worker } from './Types/Worker';
|
package/Types.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Worker = exports.Transport = exports.NavalTransport = exports.Naval = exports.Land = exports.Fortifiable = exports.Air = void 0;
|
|
4
|
+
var Air_1 = require("./Types/Air");
|
|
5
|
+
Object.defineProperty(exports, "Air", { enumerable: true, get: function () { return Air_1.Air; } });
|
|
6
|
+
var Fortifiable_1 = require("./Types/Fortifiable");
|
|
7
|
+
Object.defineProperty(exports, "Fortifiable", { enumerable: true, get: function () { return Fortifiable_1.Fortifiable; } });
|
|
8
|
+
var Land_1 = require("./Types/Land");
|
|
9
|
+
Object.defineProperty(exports, "Land", { enumerable: true, get: function () { return Land_1.Land; } });
|
|
10
|
+
var Naval_1 = require("./Types/Naval");
|
|
11
|
+
Object.defineProperty(exports, "Naval", { enumerable: true, get: function () { return Naval_1.Naval; } });
|
|
12
|
+
var NavalTransport_1 = require("./Types/NavalTransport");
|
|
13
|
+
Object.defineProperty(exports, "NavalTransport", { enumerable: true, get: function () { return NavalTransport_1.NavalTransport; } });
|
|
14
|
+
var Transport_1 = require("./Types/Transport");
|
|
15
|
+
Object.defineProperty(exports, "Transport", { enumerable: true, get: function () { return Transport_1.Transport; } });
|
|
16
|
+
var Worker_1 = require("./Types/Worker");
|
|
17
|
+
Object.defineProperty(exports, "Worker", { enumerable: true, get: function () { return Worker_1.Worker; } });
|
|
18
|
+
//# sourceMappingURL=Types.js.map
|
package/Types.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Types.js","sourceRoot":"","sources":["Types.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AAAzB,0FAAA,GAAG,OAAA;AACZ,mDAAkD;AAAzC,0GAAA,WAAW,OAAA;AACpB,qCAAoC;AAA3B,4FAAA,IAAI,OAAA;AACb,uCAAsC;AAA7B,8FAAA,KAAK,OAAA;AACd,yDAAwD;AAA/C,gHAAA,cAAc,OAAA;AACvB,+CAA0D;AAArC,sGAAA,SAAS,OAAA;AAC9B,yCAAwC;AAA/B,gGAAA,MAAM,OAAA"}
|
package/Types.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { Air } from './Types/Air';
|
|
2
|
+
export { Fortifiable } from './Types/Fortifiable';
|
|
3
|
+
export { Land } from './Types/Land';
|
|
4
|
+
export { Naval } from './Types/Naval';
|
|
5
|
+
export { NavalTransport } from './Types/NavalTransport';
|
|
6
|
+
export { ITransport, Transport } from './Types/Transport';
|
|
7
|
+
export { Worker } from './Types/Worker';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Fortified = void 0;
|
|
4
|
+
const Fortified_1 = require("@civ-clone/base-unit-improvement-fortified/UnitImprovements/Fortified");
|
|
5
|
+
var Fortified_2 = require("@civ-clone/base-unit-improvement-fortified/UnitImprovements/Fortified");
|
|
6
|
+
Object.defineProperty(exports, "Fortified", { enumerable: true, get: function () { return Fortified_2.Fortified; } });
|
|
7
|
+
exports.default = Fortified_1.Fortified;
|
|
8
|
+
//# sourceMappingURL=Fortified.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Fortified.js","sourceRoot":"","sources":["Fortified.ts"],"names":[],"mappings":";;;AAAA,qGAAkG;AAElG,mGAAkG;AAAzF,sGAAA,SAAS,OAAA;AAElB,kBAAe,qBAAS,CAAC"}
|