1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | class DasaWara {
|
4 | constructor(id, urip, name) {
|
5 | this.id = id;
|
6 | this.urip = urip;
|
7 | this.name = name;
|
8 | Object.freeze(this);
|
9 | }
|
10 | static get values() { return _C_VAL; }
|
11 | static get PANDITA() { return _C_VAL[0]; }
|
12 | static get PATI() { return _C_VAL[1]; }
|
13 | static get SUKA() { return _C_VAL[2]; }
|
14 | static get DUKA() { return _C_VAL[3]; }
|
15 | static get SRI() { return _C_VAL[4]; }
|
16 | static get MANUH() { return _C_VAL[5]; }
|
17 | static get MANUSA() { return _C_VAL[6]; }
|
18 | static get RAJA() { return _C_VAL[7]; }
|
19 | static get DEWA() { return _C_VAL[8]; }
|
20 | static get RAKSASA() { return _C_VAL[9]; }
|
21 | }
|
22 | exports.DasaWara = DasaWara;
|
23 | const _C_VAL = [
|
24 | new DasaWara(0, 5, "Pandita"),
|
25 | new DasaWara(1, 7, "Pati"),
|
26 | new DasaWara(2, 10, "Suka"),
|
27 | new DasaWara(3, 4, "Duka"),
|
28 | new DasaWara(4, 6, "Sri"),
|
29 | new DasaWara(5, 2, "Manuh"),
|
30 | new DasaWara(6, 3, "Manusa"),
|
31 | new DasaWara(7, 8, "Raja"),
|
32 | new DasaWara(8, 9, "Dewa"),
|
33 | new DasaWara(9, 1, "Raksasa"),
|
34 | ];
|
35 | Object.freeze(_C_VAL);
|