@kk-garden/shared 1.0.12 → 1.2.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/dist/assets/asssets-map.d.ts +4 -4
- package/dist/assets/asssets-map.d.ts.map +1 -1
- package/dist/assets/asssets-map.js +7 -9
- package/dist/assets/asssets-map.js.map +1 -1
- package/dist/assets/index.d.ts +1 -1
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +1 -1
- package/dist/assets/index.js.map +1 -1
- package/dist/constants/index.d.ts +4 -4
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +4 -4
- package/dist/constants/index.js.map +1 -1
- package/dist/errors/app-error.d.ts +1 -1
- package/dist/errors/app-error.d.ts.map +1 -1
- package/dist/errors/handle-error.d.ts +1 -1
- package/dist/errors/handle-error.d.ts.map +1 -1
- package/dist/errors/handle-error.js +1 -1
- package/dist/errors/handle-error.js.map +1 -1
- package/dist/errors/index.d.ts +3 -3
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +2 -2
- package/dist/errors/index.js.map +1 -1
- package/dist/errors/success-data.d.ts +1 -1
- package/dist/errors/success-data.d.ts.map +1 -1
- package/dist/schemas/index.d.ts +10 -9
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +9 -9
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/models/grid-drawer-element.schema.js +3 -3
- package/dist/schemas/models/grid-drawer-element.schema.js.map +1 -1
- package/dist/schemas/models/sprite-data.schema.js +2 -2
- package/dist/schemas/models/sprite-data.schema.js.map +1 -1
- package/dist/schemas/models/spritesheet-element.schema.js +1 -1
- package/dist/schemas/models/spritesheet-element.schema.js.map +1 -1
- package/dist/schemas/models/spritesheet-path.schema.js +1 -1
- package/dist/schemas/models/spritesheet-path.schema.js.map +1 -1
- package/dist/schemas/models/spritesheet-set-dto.schema.js +2 -2
- package/dist/schemas/models/spritesheet-set-dto.schema.js.map +1 -1
- package/dist/schemas/routes/generate-root.schema.d.ts +3 -0
- package/dist/schemas/routes/generate-root.schema.d.ts.map +1 -1
- package/dist/schemas/routes/generate-root.schema.js +3 -3
- package/dist/schemas/routes/generate-root.schema.js.map +1 -1
- package/dist/spritesheet-set/animated-sprite/animated-sprite-set.d.ts +1 -1
- package/dist/spritesheet-set/animated-sprite/animated-sprite-set.d.ts.map +1 -1
- package/dist/spritesheet-set/animated-sprite/animated-sprite-set.js +1 -1
- package/dist/spritesheet-set/animated-sprite/animated-sprite-set.js.map +1 -1
- package/dist/spritesheet-set/animated-sprite/animated-sprite.d.ts +1 -1
- package/dist/spritesheet-set/animation-sets/bushes-set/bushes-animation-set.d.ts +1 -1
- package/dist/spritesheet-set/animation-sets/bushes-set/bushes-animation-set.d.ts.map +1 -1
- package/dist/spritesheet-set/animation-sets/bushes-set/bushes-animation-set.js +2 -2
- package/dist/spritesheet-set/animation-sets/bushes-set/bushes-animation-set.js.map +1 -1
- package/dist/spritesheet-set/animation-sets/bushes-set/simple-bush/simple-bush-sprite.d.ts +20 -2
- package/dist/spritesheet-set/animation-sets/bushes-set/simple-bush/simple-bush-sprite.d.ts.map +1 -1
- package/dist/spritesheet-set/animation-sets/bushes-set/simple-bush/simple-bush-sprite.js +2 -2
- package/dist/spritesheet-set/animation-sets/bushes-set/simple-bush/simple-bush-sprite.js.map +1 -1
- package/dist/spritesheet-set/animation-sets/trees-set/regular-tree/regular-tree-sprite.d.ts +20 -2
- package/dist/spritesheet-set/animation-sets/trees-set/regular-tree/regular-tree-sprite.d.ts.map +1 -1
- package/dist/spritesheet-set/animation-sets/trees-set/regular-tree/regular-tree-sprite.js +2 -2
- package/dist/spritesheet-set/animation-sets/trees-set/regular-tree/regular-tree-sprite.js.map +1 -1
- package/dist/spritesheet-set/animation-sets/trees-set/trees-animation-set.d.ts +1 -1
- package/dist/spritesheet-set/animation-sets/trees-set/trees-animation-set.d.ts.map +1 -1
- package/dist/spritesheet-set/animation-sets/trees-set/trees-animation-set.js +2 -2
- package/dist/spritesheet-set/animation-sets/trees-set/trees-animation-set.js.map +1 -1
- package/dist/spritesheet-set/density-pick.d.ts +1 -1
- package/dist/spritesheet-set/density-pick.d.ts.map +1 -1
- package/dist/spritesheet-set/index.d.ts +8 -8
- package/dist/spritesheet-set/index.d.ts.map +1 -1
- package/dist/spritesheet-set/index.js +8 -8
- package/dist/spritesheet-set/index.js.map +1 -1
- package/dist/spritesheet-set/sets/decorations-set.d.ts +3 -3
- package/dist/spritesheet-set/sets/decorations-set.d.ts.map +1 -1
- package/dist/spritesheet-set/sets/decorations-set.js +1 -1
- package/dist/spritesheet-set/sets/decorations-set.js.map +1 -1
- package/dist/spritesheet-set/sets/stones-set.d.ts +3 -3
- package/dist/spritesheet-set/sets/stones-set.d.ts.map +1 -1
- package/dist/spritesheet-set/sets/stones-set.js +1 -1
- package/dist/spritesheet-set/sets/stones-set.js.map +1 -1
- package/dist/spritesheet-set/sets/tiles-set.d.ts +98 -98
- package/dist/spritesheet-set/sets/tiles-set.d.ts.map +1 -1
- package/dist/spritesheet-set/sets/tiles-set.js +1 -1
- package/dist/spritesheet-set/sets/tiles-set.js.map +1 -1
- package/dist/spritesheet-set/spritesheet-set.d.ts +3 -3
- package/dist/spritesheet-set/spritesheet-set.d.ts.map +1 -1
- package/dist/spritesheet-set/spritesheet-set.js +2 -2
- package/dist/spritesheet-set/spritesheet-set.js.map +1 -1
- package/dist/types/animated-sprite.types.d.ts +2 -2
- package/dist/types/animated-sprite.types.d.ts.map +1 -1
- package/dist/types/common.types.d.ts +1 -1
- package/dist/types/common.types.d.ts.map +1 -1
- package/dist/types/common.types.js +1 -1
- package/dist/types/common.types.js.map +1 -1
- package/dist/types/grid-drawer.types.d.ts +4 -4
- package/dist/types/grid-drawer.types.d.ts.map +1 -1
- package/dist/types/index.d.ts +8 -8
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +3 -3
- package/dist/types/index.js.map +1 -1
- package/dist/types/path.types.d.ts +2 -2
- package/dist/types/path.types.d.ts.map +1 -1
- package/dist/types/route-responses.types.d.ts +2 -2
- package/dist/types/route-responses.types.d.ts.map +1 -1
- package/dist/types/spritesheet-element.types.d.ts +4 -4
- package/dist/types/spritesheet-element.types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"density-pick.d.ts","sourceRoot":"","sources":["../../src/spritesheet-set/density-pick.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"density-pick.d.ts","sourceRoot":"","sources":["../../src/spritesheet-set/density-pick.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,MAAM,MAAM,WAAW,CAAC,IAAI,IAAI;IAC9B,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,IAAI,EAC9B,KAAK,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC,KAClC,WAAW,CAAC,IAAI,CA6BlB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { SpritesheetSet } from './spritesheet-set';
|
|
2
|
-
export { DecorationsSpritesheetSet, type DecorationSpreadsheetElementKey, } from './sets/decorations-set';
|
|
3
|
-
export { TilesSpritesheetSet, pathTilesDirections, type TileSpritesheetElementKey, type TilePathSpritesheetElementKey, } from './sets/tiles-set';
|
|
4
|
-
export { StonesSpritesheetSet, type StoneSpritesheetElementKey, } from './sets/stones-set';
|
|
5
|
-
export { TreesAnimatedSpriteSet } from './animation-sets/trees-set/trees-animation-set';
|
|
6
|
-
export { BushesAnimatedSpriteSet } from './animation-sets/bushes-set/bushes-animation-set';
|
|
7
|
-
export { AnimatedSprite } from './animated-sprite/animated-sprite';
|
|
8
|
-
export { AnimatedSpriteSet } from './animated-sprite/animated-sprite-set';
|
|
1
|
+
export { SpritesheetSet } from './spritesheet-set.js';
|
|
2
|
+
export { DecorationsSpritesheetSet, type DecorationSpreadsheetElementKey, } from './sets/decorations-set.js';
|
|
3
|
+
export { TilesSpritesheetSet, pathTilesDirections, type TileSpritesheetElementKey, type TilePathSpritesheetElementKey, } from './sets/tiles-set.js';
|
|
4
|
+
export { StonesSpritesheetSet, type StoneSpritesheetElementKey, } from './sets/stones-set.js';
|
|
5
|
+
export { TreesAnimatedSpriteSet } from './animation-sets/trees-set/trees-animation-set.js';
|
|
6
|
+
export { BushesAnimatedSpriteSet } from './animation-sets/bushes-set/bushes-animation-set.js';
|
|
7
|
+
export { AnimatedSprite } from './animated-sprite/animated-sprite.js';
|
|
8
|
+
export { AnimatedSpriteSet } from './animated-sprite/animated-sprite-set.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/spritesheet-set/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/spritesheet-set/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EACL,yBAAyB,EACzB,KAAK,+BAA+B,GACrC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,GACnC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,KAAK,0BAA0B,GAChC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAC3F,OAAO,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAC9F,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { SpritesheetSet } from './spritesheet-set';
|
|
2
|
-
export { DecorationsSpritesheetSet, } from './sets/decorations-set';
|
|
3
|
-
export { TilesSpritesheetSet, pathTilesDirections, } from './sets/tiles-set';
|
|
4
|
-
export { StonesSpritesheetSet, } from './sets/stones-set';
|
|
5
|
-
export { TreesAnimatedSpriteSet } from './animation-sets/trees-set/trees-animation-set';
|
|
6
|
-
export { BushesAnimatedSpriteSet } from './animation-sets/bushes-set/bushes-animation-set';
|
|
7
|
-
export { AnimatedSprite } from './animated-sprite/animated-sprite';
|
|
8
|
-
export { AnimatedSpriteSet } from './animated-sprite/animated-sprite-set';
|
|
1
|
+
export { SpritesheetSet } from './spritesheet-set.js';
|
|
2
|
+
export { DecorationsSpritesheetSet, } from './sets/decorations-set.js';
|
|
3
|
+
export { TilesSpritesheetSet, pathTilesDirections, } from './sets/tiles-set.js';
|
|
4
|
+
export { StonesSpritesheetSet, } from './sets/stones-set.js';
|
|
5
|
+
export { TreesAnimatedSpriteSet } from './animation-sets/trees-set/trees-animation-set.js';
|
|
6
|
+
export { BushesAnimatedSpriteSet } from './animation-sets/bushes-set/bushes-animation-set.js';
|
|
7
|
+
export { AnimatedSprite } from './animated-sprite/animated-sprite.js';
|
|
8
|
+
export { AnimatedSpriteSet } from './animated-sprite/animated-sprite-set.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/spritesheet-set/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/spritesheet-set/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EACL,yBAAyB,GAE1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,mBAAmB,EACnB,mBAAmB,GAGpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,GAErB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAC3F,OAAO,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAC9F,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SpritesheetSet } from '../spritesheet-set';
|
|
1
|
+
import { SpritesheetSet } from '../spritesheet-set.js';
|
|
2
2
|
declare const decorationsSpritesheetMap: {
|
|
3
3
|
readonly 'white-flower-1': {
|
|
4
4
|
readonly x: 0;
|
|
@@ -134,7 +134,7 @@ declare const decorationsSpritesheetMap: {
|
|
|
134
134
|
readonly density: 20;
|
|
135
135
|
};
|
|
136
136
|
};
|
|
137
|
-
export type DecorationSpreadsheetElementKey = keyof typeof decorationsSpritesheetMap
|
|
138
|
-
export declare const DecorationsSpritesheetSet: SpritesheetSet<
|
|
137
|
+
export type DecorationSpreadsheetElementKey = Extract<keyof typeof decorationsSpritesheetMap, string>;
|
|
138
|
+
export declare const DecorationsSpritesheetSet: SpritesheetSet<DecorationSpreadsheetElementKey>;
|
|
139
139
|
export {};
|
|
140
140
|
//# sourceMappingURL=decorations-set.d.ts.map
|
|
@@ -1 +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,
|
|
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,uBAAuB,CAAC;AAEvD,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsIO,CAAC;AAEvC,MAAM,MAAM,+BAA+B,GACzC,OAAO,CAAC,MAAM,OAAO,yBAAyB,EAAE,MAAM,CAAC,CAAC;AAS1D,eAAO,MAAM,yBAAyB,iDAGnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decorations-set.js","sourceRoot":"","sources":["../../../src/spritesheet-set/sets/decorations-set.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"decorations-set.js","sourceRoot":"","sources":["../../../src/spritesheet-set/sets/decorations-set.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,MAAM,yBAAyB,GAAG;IAChC,gBAAgB,EAAE;QAChB,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,EAAE;KACZ;IACD,gBAAgB,EAAE;QAChB,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,CAAC;QACJ,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,EAAE;KACZ;IACD,gBAAgB,EAAE;QAChB,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,CAAC;QACJ,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,EAAE;KACZ;IACD,gBAAgB,EAAE;QAChB,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,CAAC;QACJ,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,CAAC;Q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ritesheet-set.js';
|
|
2
2
|
declare const stonesSpritesheetMap: {
|
|
3
3
|
readonly 'stone-1': {
|
|
4
4
|
readonly x: 0;
|
|
@@ -15,7 +15,7 @@ declare const stonesSpritesheetMap: {
|
|
|
15
15
|
readonly density: 10;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
|
-
export type StoneSpritesheetElementKey = keyof typeof stonesSpritesheetMap
|
|
19
|
-
export declare const StonesSpritesheetSet: SpritesheetSet<
|
|
18
|
+
export type StoneSpritesheetElementKey = Extract<keyof typeof stonesSpritesheetMap, string>;
|
|
19
|
+
export declare const StonesSpritesheetSet: SpritesheetSet<StoneSpritesheetElementKey>;
|
|
20
20
|
export {};
|
|
21
21
|
//# sourceMappingURL=stones-set.d.ts.map
|
|
@@ -1 +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,
|
|
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,uBAAuB,CAAC;AAEvD,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;CAeY,CAAC;AAEvC,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,MAAM,OAAO,oBAAoB,EAAE,MAAM,CAAC,CAAC;AAQ5F,eAAO,MAAM,oBAAoB,4CACqC,CAAC"}
|
|
@@ -1 +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,
|
|
1
|
+
{"version":3,"file":"stones-set.js","sourceRoot":"","sources":["../../../src/spritesheet-set/sets/stones-set.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,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"}
|
|
@@ -1,296 +1,296 @@
|
|
|
1
|
-
import { SpritesheetSet } from '../spritesheet-set';
|
|
1
|
+
import { SpritesheetSet } from '../spritesheet-set.js';
|
|
2
2
|
declare const tilesSpreadsheetMap: {
|
|
3
3
|
readonly 'grass-full-tile': {
|
|
4
|
-
readonly width:
|
|
5
|
-
readonly height:
|
|
4
|
+
readonly width: 32;
|
|
5
|
+
readonly height: 32;
|
|
6
6
|
readonly x: 0;
|
|
7
7
|
readonly y: 0;
|
|
8
8
|
};
|
|
9
9
|
readonly 'path-1': {
|
|
10
|
-
readonly width:
|
|
11
|
-
readonly height:
|
|
10
|
+
readonly width: 32;
|
|
11
|
+
readonly height: 32;
|
|
12
12
|
readonly x: 32;
|
|
13
13
|
readonly y: 0;
|
|
14
14
|
};
|
|
15
15
|
readonly 'path-2': {
|
|
16
|
-
readonly width:
|
|
17
|
-
readonly height:
|
|
16
|
+
readonly width: 32;
|
|
17
|
+
readonly height: 32;
|
|
18
18
|
readonly x: 64;
|
|
19
19
|
readonly y: 0;
|
|
20
20
|
};
|
|
21
21
|
readonly 'path-3': {
|
|
22
|
-
readonly width:
|
|
23
|
-
readonly height:
|
|
22
|
+
readonly width: 32;
|
|
23
|
+
readonly height: 32;
|
|
24
24
|
readonly x: 96;
|
|
25
25
|
readonly y: 0;
|
|
26
26
|
};
|
|
27
27
|
readonly 'path-4': {
|
|
28
|
-
readonly width:
|
|
29
|
-
readonly height:
|
|
28
|
+
readonly width: 32;
|
|
29
|
+
readonly height: 32;
|
|
30
30
|
readonly x: 128;
|
|
31
31
|
readonly y: 0;
|
|
32
32
|
};
|
|
33
33
|
readonly 'path-5': {
|
|
34
|
-
readonly width:
|
|
35
|
-
readonly height:
|
|
34
|
+
readonly width: 32;
|
|
35
|
+
readonly height: 32;
|
|
36
36
|
readonly x: 160;
|
|
37
37
|
readonly y: 0;
|
|
38
38
|
};
|
|
39
39
|
readonly 'path-6': {
|
|
40
|
-
readonly width:
|
|
41
|
-
readonly height:
|
|
40
|
+
readonly width: 32;
|
|
41
|
+
readonly height: 32;
|
|
42
42
|
readonly x: 192;
|
|
43
43
|
readonly y: 0;
|
|
44
44
|
};
|
|
45
45
|
readonly 'path-8': {
|
|
46
|
-
readonly width:
|
|
47
|
-
readonly height:
|
|
46
|
+
readonly width: 32;
|
|
47
|
+
readonly height: 32;
|
|
48
48
|
readonly x: 256;
|
|
49
49
|
readonly y: 0;
|
|
50
50
|
};
|
|
51
51
|
readonly 'path-9': {
|
|
52
|
-
readonly width:
|
|
53
|
-
readonly height:
|
|
52
|
+
readonly width: 32;
|
|
53
|
+
readonly height: 32;
|
|
54
54
|
readonly x: 288;
|
|
55
55
|
readonly y: 0;
|
|
56
56
|
};
|
|
57
57
|
readonly 'path-10': {
|
|
58
|
-
readonly width:
|
|
59
|
-
readonly height:
|
|
58
|
+
readonly width: 32;
|
|
59
|
+
readonly height: 32;
|
|
60
60
|
readonly x: 320;
|
|
61
61
|
readonly y: 0;
|
|
62
62
|
};
|
|
63
63
|
readonly 'path-11': {
|
|
64
|
-
readonly width:
|
|
65
|
-
readonly height:
|
|
64
|
+
readonly width: 32;
|
|
65
|
+
readonly height: 32;
|
|
66
66
|
readonly x: 352;
|
|
67
67
|
readonly y: 0;
|
|
68
68
|
};
|
|
69
69
|
readonly 'path-12': {
|
|
70
|
-
readonly width:
|
|
71
|
-
readonly height:
|
|
70
|
+
readonly width: 32;
|
|
71
|
+
readonly height: 32;
|
|
72
72
|
readonly x: 384;
|
|
73
73
|
readonly y: 0;
|
|
74
74
|
};
|
|
75
75
|
readonly 'path-13': {
|
|
76
|
-
readonly width:
|
|
77
|
-
readonly height:
|
|
76
|
+
readonly width: 32;
|
|
77
|
+
readonly height: 32;
|
|
78
78
|
readonly x: 416;
|
|
79
79
|
readonly y: 0;
|
|
80
80
|
};
|
|
81
81
|
readonly 'path-14': {
|
|
82
|
-
readonly width:
|
|
83
|
-
readonly height:
|
|
82
|
+
readonly width: 32;
|
|
83
|
+
readonly height: 32;
|
|
84
84
|
readonly x: 448;
|
|
85
85
|
readonly y: 0;
|
|
86
86
|
};
|
|
87
87
|
readonly 'path-15': {
|
|
88
|
-
readonly width:
|
|
89
|
-
readonly height:
|
|
88
|
+
readonly width: 32;
|
|
89
|
+
readonly height: 32;
|
|
90
90
|
readonly x: 480;
|
|
91
91
|
readonly y: 0;
|
|
92
92
|
};
|
|
93
93
|
readonly 'path-16': {
|
|
94
|
-
readonly width:
|
|
95
|
-
readonly height:
|
|
94
|
+
readonly width: 32;
|
|
95
|
+
readonly height: 32;
|
|
96
96
|
readonly x: 512;
|
|
97
97
|
readonly y: 0;
|
|
98
98
|
};
|
|
99
99
|
readonly 'path-17': {
|
|
100
|
-
readonly width:
|
|
101
|
-
readonly height:
|
|
100
|
+
readonly width: 32;
|
|
101
|
+
readonly height: 32;
|
|
102
102
|
readonly x: 544;
|
|
103
103
|
readonly y: 0;
|
|
104
104
|
};
|
|
105
105
|
readonly 'path-18': {
|
|
106
|
-
readonly width:
|
|
107
|
-
readonly height:
|
|
106
|
+
readonly width: 32;
|
|
107
|
+
readonly height: 32;
|
|
108
108
|
readonly x: 576;
|
|
109
109
|
readonly y: 0;
|
|
110
110
|
};
|
|
111
111
|
readonly 'path-19': {
|
|
112
|
-
readonly width:
|
|
113
|
-
readonly height:
|
|
112
|
+
readonly width: 32;
|
|
113
|
+
readonly height: 32;
|
|
114
114
|
readonly x: 608;
|
|
115
115
|
readonly y: 0;
|
|
116
116
|
};
|
|
117
117
|
readonly 'path-20': {
|
|
118
|
-
readonly width:
|
|
119
|
-
readonly height:
|
|
118
|
+
readonly width: 32;
|
|
119
|
+
readonly height: 32;
|
|
120
120
|
readonly x: 640;
|
|
121
121
|
readonly y: 0;
|
|
122
122
|
};
|
|
123
123
|
readonly 'path-21': {
|
|
124
|
-
readonly width:
|
|
125
|
-
readonly height:
|
|
124
|
+
readonly width: 32;
|
|
125
|
+
readonly height: 32;
|
|
126
126
|
readonly x: 672;
|
|
127
127
|
readonly y: 0;
|
|
128
128
|
};
|
|
129
129
|
readonly 'path-22': {
|
|
130
|
-
readonly width:
|
|
131
|
-
readonly height:
|
|
130
|
+
readonly width: 32;
|
|
131
|
+
readonly height: 32;
|
|
132
132
|
readonly x: 704;
|
|
133
133
|
readonly y: 0;
|
|
134
134
|
};
|
|
135
135
|
readonly 'path-23': {
|
|
136
|
-
readonly width:
|
|
137
|
-
readonly height:
|
|
136
|
+
readonly width: 32;
|
|
137
|
+
readonly height: 32;
|
|
138
138
|
readonly x: 736;
|
|
139
139
|
readonly y: 0;
|
|
140
140
|
};
|
|
141
141
|
readonly 'path-24': {
|
|
142
|
-
readonly width:
|
|
143
|
-
readonly height:
|
|
142
|
+
readonly width: 32;
|
|
143
|
+
readonly height: 32;
|
|
144
144
|
readonly x: 768;
|
|
145
145
|
readonly y: 0;
|
|
146
146
|
};
|
|
147
147
|
readonly 'path-25': {
|
|
148
|
-
readonly width:
|
|
149
|
-
readonly height:
|
|
148
|
+
readonly width: 32;
|
|
149
|
+
readonly height: 32;
|
|
150
150
|
readonly x: 800;
|
|
151
151
|
readonly y: 0;
|
|
152
152
|
};
|
|
153
153
|
readonly 'path-26': {
|
|
154
|
-
readonly width:
|
|
155
|
-
readonly height:
|
|
154
|
+
readonly width: 32;
|
|
155
|
+
readonly height: 32;
|
|
156
156
|
readonly x: 832;
|
|
157
157
|
readonly y: 0;
|
|
158
158
|
};
|
|
159
159
|
readonly 'path-27': {
|
|
160
|
-
readonly width:
|
|
161
|
-
readonly height:
|
|
160
|
+
readonly width: 32;
|
|
161
|
+
readonly height: 32;
|
|
162
162
|
readonly x: 864;
|
|
163
163
|
readonly y: 0;
|
|
164
164
|
};
|
|
165
165
|
readonly 'path-28': {
|
|
166
|
-
readonly width:
|
|
167
|
-
readonly height:
|
|
166
|
+
readonly width: 32;
|
|
167
|
+
readonly height: 32;
|
|
168
168
|
readonly x: 896;
|
|
169
169
|
readonly y: 0;
|
|
170
170
|
};
|
|
171
171
|
readonly 'path-29': {
|
|
172
|
-
readonly width:
|
|
173
|
-
readonly height:
|
|
172
|
+
readonly width: 32;
|
|
173
|
+
readonly height: 32;
|
|
174
174
|
readonly x: 928;
|
|
175
175
|
readonly y: 0;
|
|
176
176
|
};
|
|
177
177
|
readonly 'path-31': {
|
|
178
|
-
readonly width:
|
|
179
|
-
readonly height:
|
|
178
|
+
readonly width: 32;
|
|
179
|
+
readonly height: 32;
|
|
180
180
|
readonly x: 992;
|
|
181
181
|
readonly y: 0;
|
|
182
182
|
};
|
|
183
183
|
readonly 'path-32': {
|
|
184
|
-
readonly width:
|
|
185
|
-
readonly height:
|
|
184
|
+
readonly width: 32;
|
|
185
|
+
readonly height: 32;
|
|
186
186
|
readonly x: 1024;
|
|
187
187
|
readonly y: 0;
|
|
188
188
|
};
|
|
189
189
|
readonly 'path-33': {
|
|
190
|
-
readonly width:
|
|
191
|
-
readonly height:
|
|
190
|
+
readonly width: 32;
|
|
191
|
+
readonly height: 32;
|
|
192
192
|
readonly x: 1056;
|
|
193
193
|
readonly y: 0;
|
|
194
194
|
};
|
|
195
195
|
readonly 'path-34': {
|
|
196
|
-
readonly width:
|
|
197
|
-
readonly height:
|
|
196
|
+
readonly width: 32;
|
|
197
|
+
readonly height: 32;
|
|
198
198
|
readonly x: 1088;
|
|
199
199
|
readonly y: 0;
|
|
200
200
|
};
|
|
201
201
|
readonly 'path-35': {
|
|
202
|
-
readonly width:
|
|
203
|
-
readonly height:
|
|
202
|
+
readonly width: 32;
|
|
203
|
+
readonly height: 32;
|
|
204
204
|
readonly x: 1120;
|
|
205
205
|
readonly y: 0;
|
|
206
206
|
};
|
|
207
207
|
readonly 'path-36': {
|
|
208
|
-
readonly width:
|
|
209
|
-
readonly height:
|
|
208
|
+
readonly width: 32;
|
|
209
|
+
readonly height: 32;
|
|
210
210
|
readonly x: 1152;
|
|
211
211
|
readonly y: 0;
|
|
212
212
|
};
|
|
213
213
|
readonly 'path-37': {
|
|
214
|
-
readonly width:
|
|
215
|
-
readonly height:
|
|
214
|
+
readonly width: 32;
|
|
215
|
+
readonly height: 32;
|
|
216
216
|
readonly x: 1184;
|
|
217
217
|
readonly y: 0;
|
|
218
218
|
};
|
|
219
219
|
readonly 'path-38': {
|
|
220
|
-
readonly width:
|
|
221
|
-
readonly height:
|
|
220
|
+
readonly width: 32;
|
|
221
|
+
readonly height: 32;
|
|
222
222
|
readonly x: 1216;
|
|
223
223
|
readonly y: 0;
|
|
224
224
|
};
|
|
225
225
|
readonly 'path-39': {
|
|
226
|
-
readonly width:
|
|
227
|
-
readonly height:
|
|
226
|
+
readonly width: 32;
|
|
227
|
+
readonly height: 32;
|
|
228
228
|
readonly x: 1248;
|
|
229
229
|
readonly y: 0;
|
|
230
230
|
};
|
|
231
231
|
readonly 'path-40': {
|
|
232
|
-
readonly width:
|
|
233
|
-
readonly height:
|
|
232
|
+
readonly width: 32;
|
|
233
|
+
readonly height: 32;
|
|
234
234
|
readonly x: 1280;
|
|
235
235
|
readonly y: 0;
|
|
236
236
|
};
|
|
237
237
|
readonly 'path-41': {
|
|
238
|
-
readonly width:
|
|
239
|
-
readonly height:
|
|
238
|
+
readonly width: 32;
|
|
239
|
+
readonly height: 32;
|
|
240
240
|
readonly x: 1312;
|
|
241
241
|
readonly y: 0;
|
|
242
242
|
};
|
|
243
243
|
readonly 'path-42': {
|
|
244
|
-
readonly width:
|
|
245
|
-
readonly height:
|
|
244
|
+
readonly width: 32;
|
|
245
|
+
readonly height: 32;
|
|
246
246
|
readonly x: 1344;
|
|
247
247
|
readonly y: 0;
|
|
248
248
|
};
|
|
249
249
|
readonly 'path-43': {
|
|
250
|
-
readonly width:
|
|
251
|
-
readonly height:
|
|
250
|
+
readonly width: 32;
|
|
251
|
+
readonly height: 32;
|
|
252
252
|
readonly x: 1376;
|
|
253
253
|
readonly y: 0;
|
|
254
254
|
};
|
|
255
255
|
readonly 'path-44': {
|
|
256
|
-
readonly width:
|
|
257
|
-
readonly height:
|
|
256
|
+
readonly width: 32;
|
|
257
|
+
readonly height: 32;
|
|
258
258
|
readonly x: 1408;
|
|
259
259
|
readonly y: 0;
|
|
260
260
|
};
|
|
261
261
|
readonly 'path-45': {
|
|
262
|
-
readonly width:
|
|
263
|
-
readonly height:
|
|
262
|
+
readonly width: 32;
|
|
263
|
+
readonly height: 32;
|
|
264
264
|
readonly x: 1440;
|
|
265
265
|
readonly y: 0;
|
|
266
266
|
};
|
|
267
267
|
readonly 'path-46': {
|
|
268
|
-
readonly width:
|
|
269
|
-
readonly height:
|
|
268
|
+
readonly width: 32;
|
|
269
|
+
readonly height: 32;
|
|
270
270
|
readonly x: 1472;
|
|
271
271
|
readonly y: 0;
|
|
272
272
|
};
|
|
273
273
|
readonly 'path-47': {
|
|
274
|
-
readonly width:
|
|
275
|
-
readonly height:
|
|
274
|
+
readonly width: 32;
|
|
275
|
+
readonly height: 32;
|
|
276
276
|
readonly x: 1504;
|
|
277
277
|
readonly y: 0;
|
|
278
278
|
};
|
|
279
279
|
readonly 'path-48': {
|
|
280
|
-
readonly width:
|
|
281
|
-
readonly height:
|
|
280
|
+
readonly width: 32;
|
|
281
|
+
readonly height: 32;
|
|
282
282
|
readonly x: 1536;
|
|
283
283
|
readonly y: 0;
|
|
284
284
|
};
|
|
285
285
|
};
|
|
286
|
-
export type TileSpritesheetElementKey = keyof typeof tilesSpreadsheetMap
|
|
287
|
-
export type TilePathSpritesheetElementKey = Extract<
|
|
286
|
+
export type TileSpritesheetElementKey = Extract<keyof typeof tilesSpreadsheetMap, string>;
|
|
287
|
+
export type TilePathSpritesheetElementKey = Extract<keyof typeof tilesSpreadsheetMap, `path-${string}`>;
|
|
288
288
|
export declare const pathTilesDirections: {
|
|
289
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
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
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
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
293
|
};
|
|
294
|
-
export declare const TilesSpritesheetSet: SpritesheetSet<
|
|
294
|
+
export declare const TilesSpritesheetSet: SpritesheetSet<TileSpritesheetElementKey>;
|
|
295
295
|
export {};
|
|
296
296
|
//# sourceMappingURL=tiles-set.d.ts.map
|
|
@@ -1 +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,
|
|
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,uBAAuB,CAAC;AAOvD,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwPf,CAAC;AAEX,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,MAAM,OAAO,mBAAmB,EAAE,MAAM,CAAC,CAAC;AAE1F,MAAM,MAAM,6BAA6B,GAAG,OAAO,CACjD,MAAM,OAAO,mBAAmB,EAChC,QAAQ,MAAM,EAAE,CACjB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;CA2I2B,CAAC;AAQ5D,eAAO,MAAM,mBAAmB,2CACoC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tiles-set.js","sourceRoot":"","sources":["../../../src/spritesheet-set/sets/tiles-set.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"tiles-set.js","sourceRoot":"","sources":["../../../src/spritesheet-set/sets/tiles-set.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,MAAM,YAAY,GAAG;IACnB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;CACF,CAAC;AAEX,MAAM,mBAAmB,GAAG;IAC1B,iBAAiB,EAAE;QACjB,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,GAAG,YAAY;KAChB;IACD,QAAQ,EAAE;QACR,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,CAAC;QACJ,GAAG,YAAY;KAChB;IACD,QAAQ,EAAE;QACR,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,CAAC;QACJ,GAAG,YAAY;KAChB;IACD,QAAQ,EAAE;QACR,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,CAAC;QACJ,GAAG,YAAY;KAChB;IACD,QAAQ,EAAE;QACR,CAAC,EAAE,GAAG;QACN,CAAC,EAAE,CAAC;QACJ,GAAG,YAAY;KAChB;IACD,QAAQ,EAAE;QACR,CAAC,EAAE,GAAG;QACN,CAAC,EAAE,CAAC;QACJ,GAAG,YAAY;KAChB;IACD,QAAQ,EAAE;QACR,CAAC,EAAE,GAAG;QACN,CAAC,EAAE,CAAC;QACJ,GAAG,YAAY;KAChB;IACD,gBAAgB;IAChB,cAAc;IACd,YAAY;IACZ,UAAU;IACV,qBAAqB;IACrB,KAAK;IACL,QAAQ,EAAE;QACR,CAAC,EAAE,GAAG;QACN,CAAC,EAAE,CAAC;QACJ,GAAG,YAAY;KAChB;IACD,QAAQ,EAAE;QACR,CAAC,EAA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T,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;KACV;CACwD,CAAC;AAE5D,MAAM,mBAAmB,GAA+C;IACtE,cAAc,EAAE,WAAW;IAC3B,eAAe,EAAE,mBAAmB;IACpC,cAAc,EAAE,mBAAmB;CACpC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAC9B,IAAI,cAAc,CAA4B,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type Nullable, type WithId } from '../types';
|
|
2
|
-
import type { SpritesheetElement, SpritesheetInit, SpritesheetPath, SpritesheetSetKey } from '../types';
|
|
3
|
-
import type { SpritesheetSetDto } from '../types/spritesheet-element.types';
|
|
1
|
+
import { type Nullable, type WithId } from '../types/index.js';
|
|
2
|
+
import type { SpritesheetElement, SpritesheetInit, SpritesheetPath, SpritesheetSetKey } from '../types/index.js';
|
|
3
|
+
import type { SpritesheetSetDto } from '../types/spritesheet-element.types.js';
|
|
4
4
|
export declare class SpritesheetSet<Tile extends string> {
|
|
5
5
|
private map;
|
|
6
6
|
private readonly pth;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spritesheet-set.d.ts","sourceRoot":"","sources":["../../src/spritesheet-set/spritesheet-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,QAAQ,EAAE,KAAK,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"spritesheet-set.d.ts","sourceRoot":"","sources":["../../src/spritesheet-set/spritesheet-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,QAAQ,EAAE,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACpF,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,iBAAiB,EAClB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAE/E,qBAAa,cAAc,CAAC,IAAI,SAAS,MAAM;IAC7C,OAAO,CAAC,GAAG,CAGP;IACJ,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAkB;IACtC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAoB;gBAE5B,IAAI,EAAE,eAAe,CAAC,IAAI,CAAC;IASvC,IAAI,IAAI,IAAI,eAAe,CAE1B;IAED,IAAI,EAAE,IAAI,iBAAiB,CAE1B;IAED,UAAU,CAAC,GAAG,EAAE,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;IAW3D,gBAAgB,IAAI,MAAM,CAAC,kBAAkB,CAAC;IAQ9C,KAAK,IAAI,iBAAiB;IAQ1B,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,iBAAiB,GAAG,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;CAezE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spritesheet-set.js","sourceRoot":"","sources":["../../src/spritesheet-set/spritesheet-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAA8B,MAAM,
|
|
1
|
+
{"version":3,"file":"spritesheet-set.js","sourceRoot":"","sources":["../../src/spritesheet-set/spritesheet-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAA8B,MAAM,mBAAmB,CAAC;AAOpF,OAAO,EAAoB,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGlE,MAAM,OAAO,cAAc;IACjB,GAAG,GAAkC,IAAI,GAAG,EAGjD,CAAC;IACa,GAAG,CAAkB;IACrB,GAAG,CAAoB;IAExC,YAAY,IAA2B;QACrC,MAAM,EAAE,cAAc,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC;QACjD,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,EAAE,EAAE;YACxD,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,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,cAAc,EAAE,GAAG;aACpB,CAAC,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AnimatedSprite } from '../spritesheet-set';
|
|
2
|
-
import type { Cell, Coordinates, WithDensity } from './common.types';
|
|
1
|
+
import type { AnimatedSprite } from '../spritesheet-set/index.js';
|
|
2
|
+
import type { Cell, Coordinates, WithDensity } from './common.types.js';
|
|
3
3
|
export type AnimatedSpriteData<Tile extends string = string> = WithDensity<{
|
|
4
4
|
sprite: AnimatedSprite<Tile>;
|
|
5
5
|
}>;
|