@umicat/phaser-sdk 1.0.12 → 1.0.13

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.
@@ -264,6 +264,9 @@ export function spawnHudEntity(ctx, entity) {
264
264
  }
265
265
  }
266
266
  go.setData('entityId', entity.id);
267
+ // Stamp the kind (mirrors spawnEntity for world entities) so the editor can
268
+ // branch on it — e.g. double-click an icon-button/text widget for inline edit.
269
+ go.setData('entityKind', entity.kind);
267
270
  // Z-order. Layer first (base < overlay < modal), then explicit z within layer.
268
271
  const layerDepth = LAYER_DEPTH[entity.layer ?? 'base'];
269
272
  const z = typeof entity.z === 'number' ? entity.z : 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umicat/phaser-sdk",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Umicat Phaser 3 SDK — game infrastructure for the Umicat platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",