@kk-garden/shared 1.0.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 (106) hide show
  1. package/dist/assets/asssets-map.d.ts +10 -0
  2. package/dist/assets/asssets-map.d.ts.map +1 -0
  3. package/dist/assets/asssets-map.js +13 -0
  4. package/dist/assets/asssets-map.js.map +1 -0
  5. package/dist/assets/index.d.ts +2 -0
  6. package/dist/assets/index.d.ts.map +1 -0
  7. package/dist/assets/index.js +2 -0
  8. package/dist/assets/index.js.map +1 -0
  9. package/dist/assets/spritesheets/animation_spritesheet.png +0 -0
  10. package/dist/assets/spritesheets/decorations_spritesheet.png +0 -0
  11. package/dist/assets/spritesheets/stones_spritesheet.png +0 -0
  12. package/dist/assets/spritesheets/tiles_spritesheet.png +0 -0
  13. package/dist/constants/decoration-constants.d.ts +16 -0
  14. package/dist/constants/decoration-constants.d.ts.map +1 -0
  15. package/dist/constants/decoration-constants.js +18 -0
  16. package/dist/constants/decoration-constants.js.map +1 -0
  17. package/dist/constants/grid-constants.d.ts +10 -0
  18. package/dist/constants/grid-constants.d.ts.map +1 -0
  19. package/dist/constants/grid-constants.js +20 -0
  20. package/dist/constants/grid-constants.js.map +1 -0
  21. package/dist/constants/index.d.ts +5 -0
  22. package/dist/constants/index.d.ts.map +1 -0
  23. package/dist/constants/index.js +5 -0
  24. package/dist/constants/index.js.map +1 -0
  25. package/dist/constants/object-constants.d.ts +20 -0
  26. package/dist/constants/object-constants.d.ts.map +1 -0
  27. package/dist/constants/object-constants.js +24 -0
  28. package/dist/constants/object-constants.js.map +1 -0
  29. package/dist/constants/path-constants.d.ts +21 -0
  30. package/dist/constants/path-constants.d.ts.map +1 -0
  31. package/dist/constants/path-constants.js +24 -0
  32. package/dist/constants/path-constants.js.map +1 -0
  33. package/dist/spritesheet-set/animated-sprite/animated-sprite-set.d.ts +8 -0
  34. package/dist/spritesheet-set/animated-sprite/animated-sprite-set.d.ts.map +1 -0
  35. package/dist/spritesheet-set/animated-sprite/animated-sprite-set.js +21 -0
  36. package/dist/spritesheet-set/animated-sprite/animated-sprite-set.js.map +1 -0
  37. package/dist/spritesheet-set/animated-sprite/animated-sprite.d.ts +9 -0
  38. package/dist/spritesheet-set/animated-sprite/animated-sprite.d.ts.map +1 -0
  39. package/dist/spritesheet-set/animated-sprite/animated-sprite.js +13 -0
  40. package/dist/spritesheet-set/animated-sprite/animated-sprite.js.map +1 -0
  41. package/dist/spritesheet-set/animation-sets/bushes-set/bushes-animation-set.d.ts +3 -0
  42. package/dist/spritesheet-set/animation-sets/bushes-set/bushes-animation-set.d.ts.map +1 -0
  43. package/dist/spritesheet-set/animation-sets/bushes-set/bushes-animation-set.js +12 -0
  44. package/dist/spritesheet-set/animation-sets/bushes-set/bushes-animation-set.js.map +1 -0
  45. package/dist/spritesheet-set/animation-sets/bushes-set/simple-bush/simple-bush-sprite.d.ts +3 -0
  46. package/dist/spritesheet-set/animation-sets/bushes-set/simple-bush/simple-bush-sprite.d.ts.map +1 -0
  47. package/dist/spritesheet-set/animation-sets/bushes-set/simple-bush/simple-bush-sprite.js +25 -0
  48. package/dist/spritesheet-set/animation-sets/bushes-set/simple-bush/simple-bush-sprite.js.map +1 -0
  49. package/dist/spritesheet-set/animation-sets/trees-set/regular-tree/regular-tree-sprite.d.ts +3 -0
  50. package/dist/spritesheet-set/animation-sets/trees-set/regular-tree/regular-tree-sprite.d.ts.map +1 -0
  51. package/dist/spritesheet-set/animation-sets/trees-set/regular-tree/regular-tree-sprite.js +25 -0
  52. package/dist/spritesheet-set/animation-sets/trees-set/regular-tree/regular-tree-sprite.js.map +1 -0
  53. package/dist/spritesheet-set/animation-sets/trees-set/trees-animation-set.d.ts +3 -0
  54. package/dist/spritesheet-set/animation-sets/trees-set/trees-animation-set.d.ts.map +1 -0
  55. package/dist/spritesheet-set/animation-sets/trees-set/trees-animation-set.js +12 -0
  56. package/dist/spritesheet-set/animation-sets/trees-set/trees-animation-set.js.map +1 -0
  57. package/dist/spritesheet-set/density-pick.d.ts +7 -0
  58. package/dist/spritesheet-set/density-pick.d.ts.map +1 -0
  59. package/dist/spritesheet-set/density-pick.js +21 -0
  60. package/dist/spritesheet-set/density-pick.js.map +1 -0
  61. package/dist/spritesheet-set/index.d.ts +9 -0
  62. package/dist/spritesheet-set/index.d.ts.map +1 -0
  63. package/dist/spritesheet-set/index.js +9 -0
  64. package/dist/spritesheet-set/index.js.map +1 -0
  65. package/dist/spritesheet-set/sets/decorations-set.d.ts +140 -0
  66. package/dist/spritesheet-set/sets/decorations-set.d.ts.map +1 -0
  67. package/dist/spritesheet-set/sets/decorations-set.js +143 -0
  68. package/dist/spritesheet-set/sets/decorations-set.js.map +1 -0
  69. package/dist/spritesheet-set/sets/stones-set.d.ts +21 -0
  70. package/dist/spritesheet-set/sets/stones-set.d.ts.map +1 -0
  71. package/dist/spritesheet-set/sets/stones-set.js +24 -0
  72. package/dist/spritesheet-set/sets/stones-set.js.map +1 -0
  73. package/dist/spritesheet-set/sets/tiles-set.d.ts +296 -0
  74. package/dist/spritesheet-set/sets/tiles-set.d.ts.map +1 -0
  75. package/dist/spritesheet-set/sets/tiles-set.js +401 -0
  76. package/dist/spritesheet-set/sets/tiles-set.js.map +1 -0
  77. package/dist/spritesheet-set/spritesheet-set.d.ts +13 -0
  78. package/dist/spritesheet-set/spritesheet-set.d.ts.map +1 -0
  79. package/dist/spritesheet-set/spritesheet-set.js +38 -0
  80. package/dist/spritesheet-set/spritesheet-set.js.map +1 -0
  81. package/dist/src/globals.d.ts +4 -0
  82. package/dist/types/animated-sprite.types.d.ts +15 -0
  83. package/dist/types/animated-sprite.types.d.ts.map +1 -0
  84. package/dist/types/animated-sprite.types.js +2 -0
  85. package/dist/types/animated-sprite.types.js.map +1 -0
  86. package/dist/types/common.types.d.ts +23 -0
  87. package/dist/types/common.types.d.ts.map +1 -0
  88. package/dist/types/common.types.js +2 -0
  89. package/dist/types/common.types.js.map +1 -0
  90. package/dist/types/grid-drawer.types.d.ts +27 -0
  91. package/dist/types/grid-drawer.types.d.ts.map +1 -0
  92. package/dist/types/grid-drawer.types.js +2 -0
  93. package/dist/types/grid-drawer.types.js.map +1 -0
  94. package/dist/types/index.d.ts +8 -0
  95. package/dist/types/index.d.ts.map +1 -0
  96. package/dist/types/index.js +3 -0
  97. package/dist/types/index.js.map +1 -0
  98. package/dist/types/path.types.d.ts +13 -0
  99. package/dist/types/path.types.d.ts.map +1 -0
  100. package/dist/types/path.types.js +2 -0
  101. package/dist/types/path.types.js.map +1 -0
  102. package/dist/types/spritesheet-element.types.d.ts +13 -0
  103. package/dist/types/spritesheet-element.types.d.ts.map +1 -0
  104. package/dist/types/spritesheet-element.types.js +2 -0
  105. package/dist/types/spritesheet-element.types.js.map +1 -0
  106. package/package.json +39 -0
@@ -0,0 +1,140 @@
1
+ import { SpritesheetSet } from '../spritesheet-set';
2
+ declare const decorationsSpritesheetMap: {
3
+ readonly 'white-flower-1': {
4
+ readonly x: 0;
5
+ readonly y: 0;
6
+ readonly width: 6;
7
+ readonly height: 4;
8
+ readonly density: 10;
9
+ };
10
+ readonly 'white-flower-2': {
11
+ readonly x: 12;
12
+ readonly y: 0;
13
+ readonly width: 6;
14
+ readonly height: 5;
15
+ readonly density: 10;
16
+ };
17
+ readonly 'white-flower-3': {
18
+ readonly x: 18;
19
+ readonly y: 0;
20
+ readonly width: 5;
21
+ readonly height: 5;
22
+ readonly density: 10;
23
+ };
24
+ readonly 'white-flower-4': {
25
+ readonly x: 23;
26
+ readonly y: 0;
27
+ readonly width: 6;
28
+ readonly height: 5;
29
+ readonly density: 10;
30
+ };
31
+ readonly 'white-flower-5': {
32
+ readonly x: 8;
33
+ readonly y: 5;
34
+ readonly width: 6;
35
+ readonly height: 5;
36
+ readonly density: 10;
37
+ };
38
+ readonly 'white-flower-6': {
39
+ readonly x: 20;
40
+ readonly y: 5;
41
+ readonly width: 6;
42
+ readonly height: 6;
43
+ readonly density: 10;
44
+ };
45
+ readonly 'light-green-grass-1': {
46
+ readonly x: 0;
47
+ readonly y: 5;
48
+ readonly width: 8;
49
+ readonly height: 5;
50
+ readonly density: 100;
51
+ };
52
+ readonly 'light-green-grass-2': {
53
+ readonly x: 16;
54
+ readonly y: 18;
55
+ readonly width: 5;
56
+ readonly height: 8;
57
+ readonly density: 100;
58
+ };
59
+ readonly 'light-green-grass-3': {
60
+ readonly x: 21;
61
+ readonly y: 18;
62
+ readonly width: 6;
63
+ readonly height: 10;
64
+ readonly density: 100;
65
+ };
66
+ readonly 'dark-green-grass-1': {
67
+ readonly x: 26;
68
+ readonly y: 5;
69
+ readonly width: 5;
70
+ readonly height: 6;
71
+ readonly density: 35;
72
+ };
73
+ readonly 'dark-green-grass-2': {
74
+ readonly x: 0;
75
+ readonly y: 11;
76
+ readonly width: 9;
77
+ readonly height: 6;
78
+ readonly density: 35;
79
+ };
80
+ readonly 'dark-green-grass-3': {
81
+ readonly x: 24;
82
+ readonly y: 11;
83
+ readonly width: 5;
84
+ readonly height: 7;
85
+ readonly density: 35;
86
+ };
87
+ readonly 'yellow-grass-1': {
88
+ readonly x: 6;
89
+ readonly y: 0;
90
+ readonly width: 6;
91
+ readonly height: 4;
92
+ readonly density: 20;
93
+ };
94
+ readonly 'yellow-grass-2': {
95
+ readonly x: 14;
96
+ readonly y: 5;
97
+ readonly width: 6;
98
+ readonly height: 5;
99
+ readonly density: 20;
100
+ };
101
+ readonly 'yellow-grass-3': {
102
+ readonly x: 9;
103
+ readonly y: 11;
104
+ readonly width: 8;
105
+ readonly height: 6;
106
+ readonly density: 20;
107
+ };
108
+ readonly 'yellow-grass-4': {
109
+ readonly x: 17;
110
+ readonly y: 11;
111
+ readonly width: 7;
112
+ readonly height: 6;
113
+ readonly density: 20;
114
+ };
115
+ readonly 'yellow-grass-5': {
116
+ readonly x: 24;
117
+ readonly y: 0;
118
+ readonly width: 6;
119
+ readonly height: 4;
120
+ readonly density: 20;
121
+ };
122
+ readonly 'yellow-grass-6': {
123
+ readonly x: 0;
124
+ readonly y: 18;
125
+ readonly width: 7;
126
+ readonly height: 7;
127
+ readonly density: 20;
128
+ };
129
+ readonly 'yellow-grass-7': {
130
+ readonly x: 7;
131
+ readonly y: 18;
132
+ readonly width: 9;
133
+ readonly height: 7;
134
+ readonly density: 20;
135
+ };
136
+ };
137
+ export type DecorationSpreadsheetElementKey = keyof typeof decorationsSpritesheetMap;
138
+ export declare const DecorationsSpritesheetSet: SpritesheetSet<"white-flower-1" | "white-flower-2" | "white-flower-3" | "white-flower-4" | "white-flower-5" | "white-flower-6" | "light-green-grass-1" | "light-green-grass-2" | "light-green-grass-3" | "dark-green-grass-1" | "dark-green-grass-2" | "dark-green-grass-3" | "yellow-grass-1" | "yellow-grass-2" | "yellow-grass-3" | "yellow-grass-4" | "yellow-grass-5" | "yellow-grass-6" | "yellow-grass-7">;
139
+ export {};
140
+ //# sourceMappingURL=decorations-set.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decorations-set.d.ts","sourceRoot":"","sources":["../../../src/spritesheet-set/sets/decorations-set.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsIO,CAAC;AAEvC,MAAM,MAAM,+BAA+B,GACzC,MAAM,OAAO,yBAAyB,CAAC;AASzC,eAAO,MAAM,yBAAyB,mZAGnC,CAAC"}
@@ -0,0 +1,143 @@
1
+ import { SpritesheetSet } from '../spritesheet-set';
2
+ const decorationsSpritesheetMap = {
3
+ 'white-flower-1': {
4
+ x: 0,
5
+ y: 0,
6
+ width: 6,
7
+ height: 4,
8
+ density: 10,
9
+ },
10
+ 'white-flower-2': {
11
+ x: 12,
12
+ y: 0,
13
+ width: 6,
14
+ height: 5,
15
+ density: 10,
16
+ },
17
+ 'white-flower-3': {
18
+ x: 18,
19
+ y: 0,
20
+ width: 5,
21
+ height: 5,
22
+ density: 10,
23
+ },
24
+ 'white-flower-4': {
25
+ x: 23,
26
+ y: 0,
27
+ width: 6,
28
+ height: 5,
29
+ density: 10,
30
+ },
31
+ 'white-flower-5': {
32
+ x: 8,
33
+ y: 5,
34
+ width: 6,
35
+ height: 5,
36
+ density: 10,
37
+ },
38
+ 'white-flower-6': {
39
+ x: 20,
40
+ y: 5,
41
+ width: 6,
42
+ height: 6,
43
+ density: 10,
44
+ },
45
+ 'light-green-grass-1': {
46
+ x: 0,
47
+ y: 5,
48
+ width: 8,
49
+ height: 5,
50
+ density: 100,
51
+ },
52
+ 'light-green-grass-2': {
53
+ x: 16,
54
+ y: 18,
55
+ width: 5,
56
+ height: 8,
57
+ density: 100,
58
+ },
59
+ 'light-green-grass-3': {
60
+ x: 21,
61
+ y: 18,
62
+ width: 6,
63
+ height: 10,
64
+ density: 100,
65
+ },
66
+ 'dark-green-grass-1': {
67
+ x: 26,
68
+ y: 5,
69
+ width: 5,
70
+ height: 6,
71
+ density: 35,
72
+ },
73
+ 'dark-green-grass-2': {
74
+ x: 0,
75
+ y: 11,
76
+ width: 9,
77
+ height: 6,
78
+ density: 35,
79
+ },
80
+ 'dark-green-grass-3': {
81
+ x: 24,
82
+ y: 11,
83
+ width: 5,
84
+ height: 7,
85
+ density: 35,
86
+ },
87
+ 'yellow-grass-1': {
88
+ x: 6,
89
+ y: 0,
90
+ width: 6,
91
+ height: 4,
92
+ density: 20,
93
+ },
94
+ 'yellow-grass-2': {
95
+ x: 14,
96
+ y: 5,
97
+ width: 6,
98
+ height: 5,
99
+ density: 20,
100
+ },
101
+ 'yellow-grass-3': {
102
+ x: 9,
103
+ y: 11,
104
+ width: 8,
105
+ height: 6,
106
+ density: 20,
107
+ },
108
+ 'yellow-grass-4': {
109
+ x: 17,
110
+ y: 11,
111
+ width: 7,
112
+ height: 6,
113
+ density: 20,
114
+ },
115
+ 'yellow-grass-5': {
116
+ x: 24,
117
+ y: 0,
118
+ width: 6,
119
+ height: 4,
120
+ density: 20,
121
+ },
122
+ 'yellow-grass-6': {
123
+ x: 0,
124
+ y: 18,
125
+ width: 7,
126
+ height: 7,
127
+ density: 20,
128
+ },
129
+ 'yellow-grass-7': {
130
+ x: 7,
131
+ y: 18,
132
+ width: 9,
133
+ height: 7,
134
+ density: 20,
135
+ },
136
+ };
137
+ const decorationsSpritesheetSet = {
138
+ spritesheetKey: 'decorations-set',
139
+ spritesheetPath: 'decorations-spritesheet',
140
+ spritesheetMap: decorationsSpritesheetMap,
141
+ };
142
+ export const DecorationsSpritesheetSet = new SpritesheetSet(decorationsSpritesheetSet);
143
+ //# sourceMappingURL=decorations-set.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decorations-set.js","sourceRoot":"","sources":["../../../src/spritesheet-set/sets/decorations-set.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,21 @@
1
+ import { SpritesheetSet } from '../spritesheet-set';
2
+ declare const stonesSpritesheetMap: {
3
+ readonly 'stone-1': {
4
+ readonly x: 0;
5
+ readonly y: 0;
6
+ readonly width: 32;
7
+ readonly height: 32;
8
+ readonly density: 10;
9
+ };
10
+ readonly 'stone-2': {
11
+ readonly x: 32;
12
+ readonly y: 0;
13
+ readonly width: 24;
14
+ readonly height: 24;
15
+ readonly density: 10;
16
+ };
17
+ };
18
+ export type StoneSpritesheetElementKey = keyof typeof stonesSpritesheetMap;
19
+ export declare const StonesSpritesheetSet: SpritesheetSet<"stone-1" | "stone-2">;
20
+ export {};
21
+ //# sourceMappingURL=stones-set.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stones-set.d.ts","sourceRoot":"","sources":["../../../src/spritesheet-set/sets/stones-set.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;CAeY,CAAC;AAEvC,MAAM,MAAM,0BAA0B,GAAG,MAAM,OAAO,oBAAoB,CAAC;AAQ3E,eAAO,MAAM,oBAAoB,uCACqC,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { SpritesheetSet } from '../spritesheet-set';
2
+ const stonesSpritesheetMap = {
3
+ 'stone-1': {
4
+ x: 0,
5
+ y: 0,
6
+ width: 32,
7
+ height: 32,
8
+ density: 10,
9
+ },
10
+ 'stone-2': {
11
+ x: 32,
12
+ y: 0,
13
+ width: 24,
14
+ height: 24,
15
+ density: 10,
16
+ },
17
+ };
18
+ const stonesSpritesheetSet = {
19
+ spritesheetKey: 'stones-set',
20
+ spritesheetPath: 'stones-spritesheet',
21
+ spritesheetMap: stonesSpritesheetMap,
22
+ };
23
+ export const StonesSpritesheetSet = new SpritesheetSet(stonesSpritesheetSet);
24
+ //# sourceMappingURL=stones-set.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stones-set.js","sourceRoot":"","sources":["../../../src/spritesheet-set/sets/stones-set.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,MAAM,oBAAoB,GAAG;IAC3B,SAAS,EAAE;QACT,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,OAAO,EAAE,EAAE;KACZ;IACD,SAAS,EAAE;QACT,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,CAAC;QACJ,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,OAAO,EAAE,EAAE;KACZ;CACmC,CAAC;AAIvC,MAAM,oBAAoB,GAAgD;IACxE,cAAc,EAAE,YAAY;IAC5B,eAAe,EAAE,oBAAoB;IACrC,cAAc,EAAE,oBAAoB;CACrC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAC/B,IAAI,cAAc,CAA6B,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,296 @@
1
+ import { SpritesheetSet } from '../spritesheet-set';
2
+ declare const tilesSpreadsheetMap: {
3
+ readonly 'grass-full-tile': {
4
+ readonly width: number;
5
+ readonly height: number;
6
+ readonly x: 0;
7
+ readonly y: 0;
8
+ };
9
+ readonly 'path-1': {
10
+ readonly width: number;
11
+ readonly height: number;
12
+ readonly x: 32;
13
+ readonly y: 0;
14
+ };
15
+ readonly 'path-2': {
16
+ readonly width: number;
17
+ readonly height: number;
18
+ readonly x: 64;
19
+ readonly y: 0;
20
+ };
21
+ readonly 'path-3': {
22
+ readonly width: number;
23
+ readonly height: number;
24
+ readonly x: 96;
25
+ readonly y: 0;
26
+ };
27
+ readonly 'path-4': {
28
+ readonly width: number;
29
+ readonly height: number;
30
+ readonly x: 128;
31
+ readonly y: 0;
32
+ };
33
+ readonly 'path-5': {
34
+ readonly width: number;
35
+ readonly height: number;
36
+ readonly x: 160;
37
+ readonly y: 0;
38
+ };
39
+ readonly 'path-6': {
40
+ readonly width: number;
41
+ readonly height: number;
42
+ readonly x: 192;
43
+ readonly y: 0;
44
+ };
45
+ readonly 'path-8': {
46
+ readonly width: number;
47
+ readonly height: number;
48
+ readonly x: 256;
49
+ readonly y: 0;
50
+ };
51
+ readonly 'path-9': {
52
+ readonly width: number;
53
+ readonly height: number;
54
+ readonly x: 288;
55
+ readonly y: 0;
56
+ };
57
+ readonly 'path-10': {
58
+ readonly width: number;
59
+ readonly height: number;
60
+ readonly x: 320;
61
+ readonly y: 0;
62
+ };
63
+ readonly 'path-11': {
64
+ readonly width: number;
65
+ readonly height: number;
66
+ readonly x: 352;
67
+ readonly y: 0;
68
+ };
69
+ readonly 'path-12': {
70
+ readonly width: number;
71
+ readonly height: number;
72
+ readonly x: 384;
73
+ readonly y: 0;
74
+ };
75
+ readonly 'path-13': {
76
+ readonly width: number;
77
+ readonly height: number;
78
+ readonly x: 416;
79
+ readonly y: 0;
80
+ };
81
+ readonly 'path-14': {
82
+ readonly width: number;
83
+ readonly height: number;
84
+ readonly x: 448;
85
+ readonly y: 0;
86
+ };
87
+ readonly 'path-15': {
88
+ readonly width: number;
89
+ readonly height: number;
90
+ readonly x: 480;
91
+ readonly y: 0;
92
+ };
93
+ readonly 'path-16': {
94
+ readonly width: number;
95
+ readonly height: number;
96
+ readonly x: 512;
97
+ readonly y: 0;
98
+ };
99
+ readonly 'path-17': {
100
+ readonly width: number;
101
+ readonly height: number;
102
+ readonly x: 544;
103
+ readonly y: 0;
104
+ };
105
+ readonly 'path-18': {
106
+ readonly width: number;
107
+ readonly height: number;
108
+ readonly x: 576;
109
+ readonly y: 0;
110
+ };
111
+ readonly 'path-19': {
112
+ readonly width: number;
113
+ readonly height: number;
114
+ readonly x: 608;
115
+ readonly y: 0;
116
+ };
117
+ readonly 'path-20': {
118
+ readonly width: number;
119
+ readonly height: number;
120
+ readonly x: 640;
121
+ readonly y: 0;
122
+ };
123
+ readonly 'path-21': {
124
+ readonly width: number;
125
+ readonly height: number;
126
+ readonly x: 672;
127
+ readonly y: 0;
128
+ };
129
+ readonly 'path-22': {
130
+ readonly width: number;
131
+ readonly height: number;
132
+ readonly x: 704;
133
+ readonly y: 0;
134
+ };
135
+ readonly 'path-23': {
136
+ readonly width: number;
137
+ readonly height: number;
138
+ readonly x: 736;
139
+ readonly y: 0;
140
+ };
141
+ readonly 'path-24': {
142
+ readonly width: number;
143
+ readonly height: number;
144
+ readonly x: 768;
145
+ readonly y: 0;
146
+ };
147
+ readonly 'path-25': {
148
+ readonly width: number;
149
+ readonly height: number;
150
+ readonly x: 800;
151
+ readonly y: 0;
152
+ };
153
+ readonly 'path-26': {
154
+ readonly width: number;
155
+ readonly height: number;
156
+ readonly x: 832;
157
+ readonly y: 0;
158
+ };
159
+ readonly 'path-27': {
160
+ readonly width: number;
161
+ readonly height: number;
162
+ readonly x: 864;
163
+ readonly y: 0;
164
+ };
165
+ readonly 'path-28': {
166
+ readonly width: number;
167
+ readonly height: number;
168
+ readonly x: 896;
169
+ readonly y: 0;
170
+ };
171
+ readonly 'path-29': {
172
+ readonly width: number;
173
+ readonly height: number;
174
+ readonly x: 928;
175
+ readonly y: 0;
176
+ };
177
+ readonly 'path-31': {
178
+ readonly width: number;
179
+ readonly height: number;
180
+ readonly x: 992;
181
+ readonly y: 0;
182
+ };
183
+ readonly 'path-32': {
184
+ readonly width: number;
185
+ readonly height: number;
186
+ readonly x: 1024;
187
+ readonly y: 0;
188
+ };
189
+ readonly 'path-33': {
190
+ readonly width: number;
191
+ readonly height: number;
192
+ readonly x: 1056;
193
+ readonly y: 0;
194
+ };
195
+ readonly 'path-34': {
196
+ readonly width: number;
197
+ readonly height: number;
198
+ readonly x: 1088;
199
+ readonly y: 0;
200
+ };
201
+ readonly 'path-35': {
202
+ readonly width: number;
203
+ readonly height: number;
204
+ readonly x: 1120;
205
+ readonly y: 0;
206
+ };
207
+ readonly 'path-36': {
208
+ readonly width: number;
209
+ readonly height: number;
210
+ readonly x: 1152;
211
+ readonly y: 0;
212
+ };
213
+ readonly 'path-37': {
214
+ readonly width: number;
215
+ readonly height: number;
216
+ readonly x: 1184;
217
+ readonly y: 0;
218
+ };
219
+ readonly 'path-38': {
220
+ readonly width: number;
221
+ readonly height: number;
222
+ readonly x: 1216;
223
+ readonly y: 0;
224
+ };
225
+ readonly 'path-39': {
226
+ readonly width: number;
227
+ readonly height: number;
228
+ readonly x: 1248;
229
+ readonly y: 0;
230
+ };
231
+ readonly 'path-40': {
232
+ readonly width: number;
233
+ readonly height: number;
234
+ readonly x: 1280;
235
+ readonly y: 0;
236
+ };
237
+ readonly 'path-41': {
238
+ readonly width: number;
239
+ readonly height: number;
240
+ readonly x: 1312;
241
+ readonly y: 0;
242
+ };
243
+ readonly 'path-42': {
244
+ readonly width: number;
245
+ readonly height: number;
246
+ readonly x: 1344;
247
+ readonly y: 0;
248
+ };
249
+ readonly 'path-43': {
250
+ readonly width: number;
251
+ readonly height: number;
252
+ readonly x: 1376;
253
+ readonly y: 0;
254
+ };
255
+ readonly 'path-44': {
256
+ readonly width: number;
257
+ readonly height: number;
258
+ readonly x: 1408;
259
+ readonly y: 0;
260
+ };
261
+ readonly 'path-45': {
262
+ readonly width: number;
263
+ readonly height: number;
264
+ readonly x: 1440;
265
+ readonly y: 0;
266
+ };
267
+ readonly 'path-46': {
268
+ readonly width: number;
269
+ readonly height: number;
270
+ readonly x: 1472;
271
+ readonly y: 0;
272
+ };
273
+ readonly 'path-47': {
274
+ readonly width: number;
275
+ readonly height: number;
276
+ readonly x: 1504;
277
+ readonly y: 0;
278
+ };
279
+ readonly 'path-48': {
280
+ readonly width: number;
281
+ readonly height: number;
282
+ readonly x: 1536;
283
+ readonly y: 0;
284
+ };
285
+ };
286
+ export type TileSpritesheetElementKey = keyof typeof tilesSpreadsheetMap;
287
+ export type TilePathSpritesheetElementKey = Extract<TileSpritesheetElementKey, `path-${string}`>;
288
+ export declare const pathTilesDirections: {
289
+ top: ("path-2" | "path-4" | "path-5" | "path-6" | "path-8" | "path-9" | "path-10" | "path-11" | "path-12" | "path-13" | "path-14" | "path-16" | "path-17" | "path-21" | "path-23" | "path-27" | "path-28" | "path-29" | "path-31" | "path-32" | "path-33" | "path-35" | "path-36" | "path-37" | "path-40" | "path-41" | "path-42" | "path-43" | "path-44" | "path-45" | "path-46" | "path-47")[];
290
+ right: ("path-1" | "path-3" | "path-4" | "path-5" | "path-6" | "path-8" | "path-9" | "path-12" | "path-13" | "path-14" | "path-15" | "path-17" | "path-18" | "path-19" | "path-20" | "path-21" | "path-22" | "path-24" | "path-28" | "path-29" | "path-33" | "path-34" | "path-35" | "path-37" | "path-38" | "path-39" | "path-40" | "path-41" | "path-42" | "path-43" | "path-45" | "path-46" | "path-47")[];
291
+ bottom: ("path-1" | "path-2" | "path-3" | "path-4" | "path-5" | "path-6" | "path-8" | "path-11" | "path-13" | "path-14" | "path-16" | "path-17" | "path-18" | "path-19" | "path-20" | "path-21" | "path-23" | "path-26" | "path-28" | "path-29" | "path-31" | "path-32" | "path-33" | "path-34" | "path-36" | "path-37" | "path-38" | "path-39" | "path-40" | "path-41" | "path-42" | "path-43" | "path-44" | "path-45")[];
292
+ left: ("path-2" | "path-4" | "path-5" | "path-6" | "path-8" | "path-10" | "path-11" | "path-13" | "path-15" | "path-17" | "path-18" | "path-19" | "path-20" | "path-21" | "path-22" | "path-25" | "path-28" | "path-29" | "path-32" | "path-34" | "path-35" | "path-36" | "path-38" | "path-39" | "path-40" | "path-41" | "path-42" | "path-43" | "path-44" | "path-46" | "path-47")[];
293
+ };
294
+ export declare const TilesSpritesheetSet: SpritesheetSet<"grass-full-tile" | "path-1" | "path-2" | "path-3" | "path-4" | "path-5" | "path-6" | "path-8" | "path-9" | "path-10" | "path-11" | "path-12" | "path-13" | "path-14" | "path-15" | "path-16" | "path-17" | "path-18" | "path-19" | "path-20" | "path-21" | "path-22" | "path-23" | "path-24" | "path-25" | "path-26" | "path-27" | "path-28" | "path-29" | "path-31" | "path-32" | "path-33" | "path-34" | "path-35" | "path-36" | "path-37" | "path-38" | "path-39" | "path-40" | "path-41" | "path-42" | "path-43" | "path-44" | "path-45" | "path-46" | "path-47" | "path-48">;
295
+ export {};
296
+ //# sourceMappingURL=tiles-set.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tiles-set.d.ts","sourceRoot":"","sources":["../../../src/spritesheet-set/sets/tiles-set.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAQpD,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwPa,CAAC;AAEvC,MAAM,MAAM,yBAAyB,GAAG,MAAM,OAAO,mBAAmB,CAAC;AAEzE,MAAM,MAAM,6BAA6B,GAAG,OAAO,CACjD,yBAAyB,EACzB,QAAQ,MAAM,EAAE,CACjB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;CA2I2B,CAAC;AAQ5D,eAAO,MAAM,mBAAmB,mkBACoC,CAAC"}