@gamepark/zenith 0.0.1 → 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.
Files changed (63) hide show
  1. package/dist/PlayerId.js +1 -2
  2. package/dist/TeamColor.js +7 -13
  3. package/dist/ZenithOptions.js +1 -4
  4. package/dist/ZenithRules.js +71 -122
  5. package/dist/ZenithSetup.js +123 -266
  6. package/dist/index.js +3 -9
  7. package/dist/material/Agent.js +4 -7
  8. package/dist/material/Agents.js +920 -923
  9. package/dist/material/Bonus.js +5 -8
  10. package/dist/material/Bonuses.js +29 -33
  11. package/dist/material/Credit.js +4 -7
  12. package/dist/material/Faction.js +4 -7
  13. package/dist/material/Influence.js +4 -7
  14. package/dist/material/LocationType.js +2 -5
  15. package/dist/material/MaterialType.js +2 -5
  16. package/dist/material/effect/Effect.js +5 -10
  17. package/dist/material/effect/EffectType.js +2 -5
  18. package/dist/rules/CustomMoveType.js +2 -5
  19. package/dist/rules/DiscardActionRule.js +26 -75
  20. package/dist/rules/Memory.js +2 -5
  21. package/dist/rules/MulliganRule.js +47 -126
  22. package/dist/rules/PlayCardRule.js +68 -134
  23. package/dist/rules/RefillRule.js +83 -190
  24. package/dist/rules/RuleId.js +2 -5
  25. package/dist/rules/discard-action/DiplomacyActions.js +15 -20
  26. package/dist/rules/discard-action/DiplomacyBoardRule.js +27 -64
  27. package/dist/rules/discard-action/TechnologyActions.js +44 -48
  28. package/dist/rules/discard-action/TechnologyBoardRule.js +34 -102
  29. package/dist/rules/effect/ChoiceRule.js +21 -81
  30. package/dist/rules/effect/ConditionalRule.js +77 -141
  31. package/dist/rules/effect/DevelopTechnologyRule.js +53 -119
  32. package/dist/rules/effect/DiscardRule.js +37 -90
  33. package/dist/rules/effect/EffectRule.js +60 -138
  34. package/dist/rules/effect/ExileRule.js +62 -147
  35. package/dist/rules/effect/GiveCreditRule.js +24 -73
  36. package/dist/rules/effect/GiveInfluenceRule.js +38 -101
  37. package/dist/rules/effect/GiveLeaderBadgeRule.js +18 -46
  38. package/dist/rules/effect/GiveZenithiumRule.js +25 -79
  39. package/dist/rules/effect/MobilizeRule.js +38 -93
  40. package/dist/rules/effect/ResetInfluenceRule.js +21 -58
  41. package/dist/rules/effect/SpendCreditRule.js +29 -102
  42. package/dist/rules/effect/SpendZenithiumRule.js +32 -109
  43. package/dist/rules/effect/StealCreditRule.js +15 -64
  44. package/dist/rules/effect/TakeBonusRule.js +30 -91
  45. package/dist/rules/effect/TakeLeaderBadgeRule.js +31 -88
  46. package/dist/rules/effect/TakeTechnologyBonusTokenRule.js +45 -112
  47. package/dist/rules/effect/TransferRule.js +47 -81
  48. package/dist/rules/effect/WinCreditRule.js +60 -130
  49. package/dist/rules/effect/WinInfluenceRule.js +128 -248
  50. package/dist/rules/effect/WinZenithiumRule.js +24 -80
  51. package/dist/rules/effect/index.js +19 -35
  52. package/dist/rules/helper/BonusHelper.js +32 -64
  53. package/dist/rules/helper/CreditHelper.js +19 -44
  54. package/dist/rules/helper/EffectHelper.js +81 -123
  55. package/dist/rules/helper/EffectRuleIds.js +25 -29
  56. package/dist/rules/helper/EndGameHelper.js +24 -57
  57. package/dist/rules/helper/InfluenceHelper.js +18 -44
  58. package/dist/rules/helper/MobilizeHelper.js +27 -53
  59. package/dist/rules/helper/PlanetHelper.js +45 -78
  60. package/dist/rules/helper/PlayerHelper.js +24 -60
  61. package/dist/rules/helper/TechnologyHelper.js +31 -87
  62. package/dist/rules/helper/ZenithiumHelper.js +25 -48
  63. package/package.json +4 -3
@@ -1,82 +1,20 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- var __read = (this && this.__read) || function (o, n) {
18
- var m = typeof Symbol === "function" && o[Symbol.iterator];
19
- if (!m) return o;
20
- var i = m.call(o), r, ar = [], e;
21
- try {
22
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
23
- }
24
- catch (error) { e = { error: error }; }
25
- finally {
26
- try {
27
- if (r && !r.done && (m = i["return"])) m.call(i);
28
- }
29
- finally { if (e) throw e.error; }
30
- }
31
- return ar;
32
- };
33
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
34
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
35
- if (ar || !(i in from)) {
36
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
37
- ar[i] = from[i];
38
- }
39
- }
40
- return to.concat(ar || Array.prototype.slice.call(from));
41
- };
42
- var __values = (this && this.__values) || function(o) {
43
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
44
- if (m) return m.call(o);
45
- if (o && typeof o.length === "number") return {
46
- next: function () {
47
- if (o && i >= o.length) o = void 0;
48
- return { value: o && o[i++], done: !o };
49
- }
50
- };
51
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
52
- };
53
- var __importDefault = (this && this.__importDefault) || function (mod) {
54
- return (mod && mod.__esModule) ? mod : { "default": mod };
55
- };
56
- Object.defineProperty(exports, "__esModule", { value: true });
57
- exports.ZenithSetup = void 0;
58
- var rules_api_1 = require("@gamepark/rules-api");
59
- var lodash_1 = require("lodash");
60
- var shuffle_1 = __importDefault(require("lodash/shuffle"));
61
- var Agent_1 = require("./material/Agent");
62
- var Bonus_1 = require("./material/Bonus");
63
- var Credit_1 = require("./material/Credit");
64
- var Faction_1 = require("./material/Faction");
65
- var Influence_1 = require("./material/Influence");
66
- var LocationType_1 = require("./material/LocationType");
67
- var MaterialType_1 = require("./material/MaterialType");
68
- var Memory_1 = require("./rules/Memory");
69
- var RuleId_1 = require("./rules/RuleId");
70
- var TeamColor_1 = require("./TeamColor");
71
- var ZenithRules_1 = require("./ZenithRules");
72
- var ZenithSetup = (function (_super) {
73
- __extends(ZenithSetup, _super);
74
- function ZenithSetup() {
75
- var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this;
76
- _this.Rules = ZenithRules_1.ZenithRules;
77
- return _this;
78
- }
79
- ZenithSetup.prototype.setupMaterial = function (_options) {
1
+ import { MaterialGameSetup } from '@gamepark/rules-api';
2
+ import { times } from 'lodash';
3
+ import shuffle from 'lodash/shuffle';
4
+ import { agents } from './material/Agent';
5
+ import { allBonuses } from './material/Bonus';
6
+ import { Credit } from './material/Credit';
7
+ import { factions } from './material/Faction';
8
+ import { Influence, influences } from './material/Influence';
9
+ import { LocationType } from './material/LocationType';
10
+ import { MaterialType } from './material/MaterialType';
11
+ import { Memory } from './rules/Memory';
12
+ import { RuleId } from './rules/RuleId';
13
+ import { TeamColor, teamColors } from './TeamColor';
14
+ import { ZenithRules } from './ZenithRules';
15
+ export class ZenithSetup extends MaterialGameSetup {
16
+ Rules = ZenithRules;
17
+ setupMaterial(_options) {
80
18
  this.setupDeck();
81
19
  this.setupPlayers();
82
20
  this.setupInfluences();
@@ -85,232 +23,151 @@ var ZenithSetup = (function (_super) {
85
23
  this.setupTeams();
86
24
  this.setupInfluenceDisc();
87
25
  this.setupBonuses();
88
- };
89
- ZenithSetup.prototype.setupBonuses = function () {
90
- var e_1, _a, e_2, _b, e_3, _c;
91
- var shuffledBonuses = (0, shuffle_1.default)(Bonus_1.allBonuses);
92
- try {
93
- for (var influences_1 = __values(Influence_1.influences), influences_1_1 = influences_1.next(); !influences_1_1.done; influences_1_1 = influences_1.next()) {
94
- var influence = influences_1_1.value;
95
- var bonus = shuffledBonuses.shift();
96
- this.material(MaterialType_1.MaterialType.BonusToken).createItem({
97
- id: bonus,
98
- location: {
99
- type: LocationType_1.LocationType.PlanetBoardBonusSpace,
100
- id: influence
101
- }
102
- });
103
- }
104
- }
105
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
106
- finally {
107
- try {
108
- if (influences_1_1 && !influences_1_1.done && (_a = influences_1.return)) _a.call(influences_1);
109
- }
110
- finally { if (e_1) throw e_1.error; }
111
- }
112
- var technologyBoards = this.material(MaterialType_1.MaterialType.TechnologyBoard).getIndexes();
113
- try {
114
- for (var technologyBoards_1 = __values(technologyBoards), technologyBoards_1_1 = technologyBoards_1.next(); !technologyBoards_1_1.done; technologyBoards_1_1 = technologyBoards_1.next()) {
115
- var technologyBoardIndex = technologyBoards_1_1.value;
116
- this.material(MaterialType_1.MaterialType.BonusToken).createItem({
117
- id: shuffledBonuses.shift(),
118
- location: {
119
- type: LocationType_1.LocationType.TechnologyBoardBonusSpace,
120
- parent: technologyBoardIndex,
121
- x: 2
122
- }
123
- });
124
- }
125
- }
126
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
127
- finally {
128
- try {
129
- if (technologyBoards_1_1 && !technologyBoards_1_1.done && (_b = technologyBoards_1.return)) _b.call(technologyBoards_1);
130
- }
131
- finally { if (e_2) throw e_2.error; }
26
+ }
27
+ setupBonuses() {
28
+ const shuffledBonuses = shuffle(allBonuses);
29
+ for (const influence of influences) {
30
+ const bonus = shuffledBonuses.shift();
31
+ this.material(MaterialType.BonusToken).createItem({
32
+ id: bonus,
33
+ location: {
34
+ type: LocationType.PlanetBoardBonusSpace,
35
+ id: influence
36
+ }
37
+ });
132
38
  }
133
- try {
134
- for (var shuffledBonuses_1 = __values(shuffledBonuses), shuffledBonuses_1_1 = shuffledBonuses_1.next(); !shuffledBonuses_1_1.done; shuffledBonuses_1_1 = shuffledBonuses_1.next()) {
135
- var bonus = shuffledBonuses_1_1.value;
136
- this.material(MaterialType_1.MaterialType.BonusToken).createItem({
137
- id: bonus,
138
- location: {
139
- type: LocationType_1.LocationType.BonusTokenStock
140
- }
141
- });
142
- }
39
+ const technologyBoards = this.material(MaterialType.TechnologyBoard).getIndexes();
40
+ for (const technologyBoardIndex of technologyBoards) {
41
+ this.material(MaterialType.BonusToken).createItem({
42
+ id: shuffledBonuses.shift(),
43
+ location: {
44
+ type: LocationType.TechnologyBoardBonusSpace,
45
+ parent: technologyBoardIndex,
46
+ x: 2
47
+ }
48
+ });
143
49
  }
144
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
145
- finally {
146
- try {
147
- if (shuffledBonuses_1_1 && !shuffledBonuses_1_1.done && (_c = shuffledBonuses_1.return)) _c.call(shuffledBonuses_1);
148
- }
149
- finally { if (e_3) throw e_3.error; }
50
+ for (const bonus of shuffledBonuses) {
51
+ this.material(MaterialType.BonusToken).createItem({
52
+ id: bonus,
53
+ location: {
54
+ type: LocationType.BonusTokenStock
55
+ }
56
+ });
150
57
  }
151
- };
152
- ZenithSetup.prototype.setupInfluenceDisc = function () {
153
- var e_4, _a;
154
- var _this = this;
155
- var _loop_1 = function (influence) {
156
- (0, lodash_1.times)(3, function () {
157
- _this.material(MaterialType_1.MaterialType.InfluenceDisc).createItem({
58
+ }
59
+ setupInfluenceDisc() {
60
+ for (const influence of influences) {
61
+ times(3, () => {
62
+ this.material(MaterialType.InfluenceDisc).createItem({
158
63
  id: influence,
159
64
  location: {
160
- type: LocationType_1.LocationType.InfluenceDiscStock,
65
+ type: LocationType.InfluenceDiscStock,
161
66
  id: influence
162
67
  }
163
68
  });
164
69
  });
165
- };
166
- try {
167
- for (var influences_2 = __values(Influence_1.influences), influences_2_1 = influences_2.next(); !influences_2_1.done; influences_2_1 = influences_2.next()) {
168
- var influence = influences_2_1.value;
169
- _loop_1(influence);
170
- }
171
- }
172
- catch (e_4_1) { e_4 = { error: e_4_1 }; }
173
- finally {
174
- try {
175
- if (influences_2_1 && !influences_2_1.done && (_a = influences_2.return)) _a.call(influences_2);
176
- }
177
- finally { if (e_4) throw e_4.error; }
178
70
  }
179
- };
180
- ZenithSetup.prototype.setupLeaderBadge = function () {
181
- this.material(MaterialType_1.MaterialType.LeaderBadgeToken).createItem({
71
+ }
72
+ setupLeaderBadge() {
73
+ this.material(MaterialType.LeaderBadgeToken).createItem({
182
74
  location: {
183
- type: LocationType_1.LocationType.DiplomacyBoardLeaderBadgeSpace
75
+ type: LocationType.DiplomacyBoardLeaderBadgeSpace
184
76
  }
185
77
  });
186
- };
187
- ZenithSetup.prototype.setupInfluences = function () {
188
- var e_5, _a;
189
- try {
190
- for (var influences_3 = __values(Influence_1.influences), influences_3_1 = influences_3.next(); !influences_3_1.done; influences_3_1 = influences_3.next()) {
191
- var planet = influences_3_1.value;
192
- this.material(MaterialType_1.MaterialType.InfluenceDisc).createItem({
78
+ }
79
+ setupInfluences() {
80
+ for (const planet of influences) {
81
+ this.material(MaterialType.InfluenceDisc).createItem({
82
+ id: planet,
83
+ location: {
84
+ type: LocationType.PlanetBoardInfluenceDiscSpace,
193
85
  id: planet,
194
- location: {
195
- type: LocationType_1.LocationType.PlanetBoardInfluenceDiscSpace,
196
- id: planet,
197
- x: this.getPlanetStartPosition(planet)
198
- }
199
- });
200
- }
201
- }
202
- catch (e_5_1) { e_5 = { error: e_5_1 }; }
203
- finally {
204
- try {
205
- if (influences_3_1 && !influences_3_1.done && (_a = influences_3.return)) _a.call(influences_3);
206
- }
207
- finally { if (e_5) throw e_5.error; }
86
+ x: this.getPlanetStartPosition(planet)
87
+ }
88
+ });
208
89
  }
209
- };
210
- ZenithSetup.prototype.getPlanetStartPosition = function (planet) {
211
- if (planet === Influence_1.Influence.Terra)
90
+ }
91
+ getPlanetStartPosition(planet) {
92
+ if (planet === Influence.Terra)
212
93
  return -1;
213
94
  return 0;
214
- };
215
- ZenithSetup.prototype.setupDeck = function () {
216
- var shuffledAgents = (0, shuffle_1.default)(Agent_1.agents);
217
- this.material(MaterialType_1.MaterialType.AgentCard).createItems(shuffledAgents.map(function (agent) { return ({
95
+ }
96
+ setupDeck() {
97
+ const shuffledAgents = shuffle(agents);
98
+ this.material(MaterialType.AgentCard).createItems(shuffledAgents.map((agent) => ({
218
99
  id: agent,
219
100
  location: {
220
- type: LocationType_1.LocationType.AgentDeck
101
+ type: LocationType.AgentDeck
221
102
  }
222
- }); }));
223
- };
224
- ZenithSetup.prototype.setupPlayers = function () {
225
- var e_6, _a;
226
- var deck = this.material(MaterialType_1.MaterialType.AgentCard).location(LocationType_1.LocationType.AgentDeck).deck();
227
- try {
228
- for (var _b = __values(this.game.players), _c = _b.next(); !_c.done; _c = _b.next()) {
229
- var player = _c.value;
230
- this.setupPlayer(deck, player);
231
- }
232
- }
233
- catch (e_6_1) { e_6 = { error: e_6_1 }; }
234
- finally {
235
- try {
236
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
237
- }
238
- finally { if (e_6) throw e_6.error; }
103
+ })));
104
+ }
105
+ setupPlayers() {
106
+ const deck = this.material(MaterialType.AgentCard).location(LocationType.AgentDeck).deck();
107
+ for (const player of this.game.players) {
108
+ this.setupPlayer(deck, player);
239
109
  }
240
- };
241
- ZenithSetup.prototype.setupTechnologyBoard = function () {
242
- var e_7, _a;
243
- var boards = ['S', 'U', 'N'];
244
- for (var i = 0; i < boards.length; i++) {
245
- var current = boards[i];
246
- this.material(MaterialType_1.MaterialType.TechnologyBoard).createItem({ id: current, location: { type: LocationType_1.LocationType.TechnologyBoardPlace, id: Faction_1.factions[i] } });
247
- try {
248
- for (var teamColors_1 = (e_7 = void 0, __values(TeamColor_1.teamColors)), teamColors_1_1 = teamColors_1.next(); !teamColors_1_1.done; teamColors_1_1 = teamColors_1.next()) {
249
- var color = teamColors_1_1.value;
250
- this.material(MaterialType_1.MaterialType.TechMarker).createItem({
251
- id: color,
252
- location: {
253
- type: LocationType_1.LocationType.TechnologyBoardTokenSpace,
254
- parent: this.material(MaterialType_1.MaterialType.TechnologyBoard).id(current).getIndex(),
255
- player: color,
256
- x: 0
257
- }
258
- });
259
- }
260
- }
261
- catch (e_7_1) { e_7 = { error: e_7_1 }; }
262
- finally {
263
- try {
264
- if (teamColors_1_1 && !teamColors_1_1.done && (_a = teamColors_1.return)) _a.call(teamColors_1);
265
- }
266
- finally { if (e_7) throw e_7.error; }
110
+ }
111
+ setupTechnologyBoard() {
112
+ const boards = ['S', 'U', 'N'];
113
+ for (let i = 0; i < boards.length; i++) {
114
+ const current = boards[i];
115
+ this.material(MaterialType.TechnologyBoard).createItem({ id: current, location: { type: LocationType.TechnologyBoardPlace, id: factions[i] } });
116
+ for (const color of teamColors) {
117
+ this.material(MaterialType.TechMarker).createItem({
118
+ id: color,
119
+ location: {
120
+ type: LocationType.TechnologyBoardTokenSpace,
121
+ parent: this.material(MaterialType.TechnologyBoard).id(current).getIndex(),
122
+ player: color,
123
+ x: 0
124
+ }
125
+ });
267
126
  }
268
127
  }
269
- };
270
- ZenithSetup.prototype.setupPlayer = function (deck, player) {
128
+ }
129
+ setupPlayer(deck, player) {
271
130
  deck.deal({
272
- type: LocationType_1.LocationType.PlayerHand,
273
- player: player
131
+ type: LocationType.PlayerHand,
132
+ player
274
133
  }, 4);
275
- };
276
- ZenithSetup.prototype.setupTeams = function () {
277
- this.setupTeam(TeamColor_1.TeamColor.White);
278
- this.setupTeam(TeamColor_1.TeamColor.Black);
279
- };
280
- ZenithSetup.prototype.setupTeam = function (team) {
281
- this.material(MaterialType_1.MaterialType.CreditToken).createItem({
282
- id: Credit_1.Credit.Credit1,
134
+ }
135
+ setupTeams() {
136
+ this.setupTeam(TeamColor.White);
137
+ this.setupTeam(TeamColor.Black);
138
+ }
139
+ setupTeam(team) {
140
+ this.material(MaterialType.CreditToken).createItem({
141
+ id: Credit.Credit1,
283
142
  location: {
284
- type: LocationType_1.LocationType.TeamCredit,
143
+ type: LocationType.TeamCredit,
285
144
  player: team
286
145
  },
287
146
  quantity: 4
288
147
  });
289
- this.material(MaterialType_1.MaterialType.CreditToken).createItem({
290
- id: Credit_1.Credit.Credit3,
148
+ this.material(MaterialType.CreditToken).createItem({
149
+ id: Credit.Credit3,
291
150
  location: {
292
- type: LocationType_1.LocationType.TeamCredit,
151
+ type: LocationType.TeamCredit,
293
152
  player: team
294
153
  }
295
154
  });
296
- this.material(MaterialType_1.MaterialType.CreditToken).createItem({
297
- id: Credit_1.Credit.Credit5,
155
+ this.material(MaterialType.CreditToken).createItem({
156
+ id: Credit.Credit5,
298
157
  location: {
299
- type: LocationType_1.LocationType.TeamCredit,
158
+ type: LocationType.TeamCredit,
300
159
  player: team
301
160
  }
302
161
  });
303
- this.material(MaterialType_1.MaterialType.ZenithiumToken).createItem({
162
+ this.material(MaterialType.ZenithiumToken).createItem({
304
163
  location: {
305
- type: LocationType_1.LocationType.TeamZenithium,
164
+ type: LocationType.TeamZenithium,
306
165
  player: team
307
166
  }
308
167
  });
309
- };
310
- ZenithSetup.prototype.start = function () {
311
- this.memorize(Memory_1.Memory.TurnOrder, (0, shuffle_1.default)(this.game.players));
312
- this.startSimultaneousRule(RuleId_1.RuleId.Muligan);
313
- };
314
- return ZenithSetup;
315
- }(rules_api_1.MaterialGameSetup));
316
- exports.ZenithSetup = ZenithSetup;
168
+ }
169
+ start() {
170
+ this.memorize(Memory.TurnOrder, shuffle(this.game.players));
171
+ this.startSimultaneousRule(RuleId.Muligan);
172
+ }
173
+ }
package/dist/index.js CHANGED
@@ -1,9 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ZenithSetup = exports.ZenithOptionsSpec = exports.ZenithRules = void 0;
4
- var ZenithRules_1 = require("./ZenithRules");
5
- Object.defineProperty(exports, "ZenithRules", { enumerable: true, get: function () { return ZenithRules_1.ZenithRules; } });
6
- var ZenithOptions_1 = require("./ZenithOptions");
7
- Object.defineProperty(exports, "ZenithOptionsSpec", { enumerable: true, get: function () { return ZenithOptions_1.ZenithOptionsSpec; } });
8
- var ZenithSetup_1 = require("./ZenithSetup");
9
- Object.defineProperty(exports, "ZenithSetup", { enumerable: true, get: function () { return ZenithSetup_1.ZenithSetup; } });
1
+ export { ZenithRules } from './ZenithRules';
2
+ export { ZenithOptionsSpec } from './ZenithOptions';
3
+ export { ZenithSetup } from './ZenithSetup';
@@ -1,8 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.agents = exports.Agent = void 0;
4
- var rules_api_1 = require("@gamepark/rules-api");
5
- var Agent;
1
+ import { getEnumValues } from '@gamepark/rules-api';
2
+ export var Agent;
6
3
  (function (Agent) {
7
4
  Agent[Agent["Elisabeth"] = 1] = "Elisabeth";
8
5
  Agent[Agent["Pkd1ck"] = 2] = "Pkd1ck";
@@ -94,5 +91,5 @@ var Agent;
94
91
  Agent[Agent["SecretKali"] = 88] = "SecretKali";
95
92
  Agent[Agent["CaptainAndreev"] = 89] = "CaptainAndreev";
96
93
  Agent[Agent["MiladyJones"] = 90] = "MiladyJones";
97
- })(Agent || (exports.Agent = Agent = {}));
98
- exports.agents = (0, rules_api_1.getEnumValues)(Agent);
94
+ })(Agent || (Agent = {}));
95
+ export const agents = getEnumValues(Agent);