({ name, x, y })
| 6 | * @returns {InstanceData} |
| 7 | */ |
| 8 | const getFakeInstanceData = ({ name, x, y }) => ({ |
| 9 | persistentUuid: '', |
| 10 | |
| 11 | layer: '', |
| 12 | locked: false, |
| 13 | name, |
| 14 | |
| 15 | x, |
| 16 | y, |
| 17 | |
| 18 | angle: 0, |
| 19 | |
| 20 | zOrder: 0, |
| 21 | |
| 22 | customSize: false, |
| 23 | width: 0, |
| 24 | height: 0, |
| 25 | depth: 0, |
| 26 | |
| 27 | numberProperties: [], |
| 28 | stringProperties: [], |
| 29 | initialVariables: [], |
| 30 | }); |
| 31 | |
| 32 | /** |
| 33 | * @param {{name: string, objects?: gdjs.SpriteObjectData[], instances?: InstanceData[]}} settings |