game-data-gen 1.0.1 → 1.0.3
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/README.md +3 -3
- package/dist/main.js +5 -2242
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -86,7 +86,7 @@ Supported array field types:
|
|
|
86
86
|
|
|
87
87
|
The length of the array field.
|
|
88
88
|
|
|
89
|
-
In case of a Structure of Arrays data structure (type=soa), setting the length on the type is recommended so that all arrays have the same length.
|
|
89
|
+
In case of a Structure of Arrays data structure (type=soa), setting the length on the type instead is recommended so that all arrays have the same length.
|
|
90
90
|
|
|
91
91
|
## Example
|
|
92
92
|
|
|
@@ -115,7 +115,7 @@ This will create or update the `src/data/game.ts` file:
|
|
|
115
115
|
```typescript
|
|
116
116
|
/*
|
|
117
117
|
* --------------------------------------------------
|
|
118
|
-
* Game
|
|
118
|
+
* Game (group)
|
|
119
119
|
* --------------------------------------------------
|
|
120
120
|
*/
|
|
121
121
|
|
|
@@ -133,7 +133,7 @@ export function zeroGameData() {
|
|
|
133
133
|
|
|
134
134
|
/*
|
|
135
135
|
* --------------------------------------------------
|
|
136
|
-
* Entity
|
|
136
|
+
* Entity (Structure of Arrays)
|
|
137
137
|
* --------------------------------------------------
|
|
138
138
|
*/
|
|
139
139
|
|