@theatrejs/plugin-ldtk 2.0.0 → 2.0.1
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/package.json +1 -1
- package/sources/ldtk.js +10 -1
package/package.json
CHANGED
package/sources/ldtk.js
CHANGED
|
@@ -12,6 +12,14 @@ import {LdtkEntity} from './index.js';
|
|
|
12
12
|
*/
|
|
13
13
|
class Ldtk {
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* @typedef {Object} TypeLdtkDefinitionEntity A LDTK JSON data entity definition.
|
|
17
|
+
* @property {string} TypeLdtkDefinitionEntity.identifier The identifier.
|
|
18
|
+
* @protected
|
|
19
|
+
*
|
|
20
|
+
* @memberof Ldtk
|
|
21
|
+
*/
|
|
22
|
+
|
|
15
23
|
/**
|
|
16
24
|
* @typedef {Object} TypeLdtkDefinitionLayerGridValue A LDTK JSON data layer grid value definition.
|
|
17
25
|
* @property {string} TypeLdtkDefinitionLayerGridValue.identifier The identifier.
|
|
@@ -32,7 +40,8 @@ class Ldtk {
|
|
|
32
40
|
|
|
33
41
|
/**
|
|
34
42
|
* @typedef {Object} TypeLdtkDefinitions A LDTK JSON data definition.
|
|
35
|
-
* @property {Array<
|
|
43
|
+
* @property {Array<TypeLdtkDefinitionEntity>} TypeLdtkDefinitions.entities The entities' definitions.
|
|
44
|
+
* @property {Array<TypeLdtkDefinitionLayer>} TypeLdtkDefinitions.layers The layers' definitions.
|
|
36
45
|
* @protected
|
|
37
46
|
*
|
|
38
47
|
* @memberof Ldtk
|