template/packages-user/data-state
unanmed f0fd2f54a1 refactor(event): class-based built-ins, shared utils, single registration
- rewrite every built-in as EventXxx implements BuiltInFunction<P, E>
  (setBlock/moveBlock/deleteBlock/moveHero/moveHeroStep/touchFront/
  insertEvents/insertEvent), matching the EventSetBlock reference style
- move shared helpers to event/utils.ts (getPossibleMap, getPossibleLayer,
  getEventExecutor, enter/exitEventInsert); utils is not exported via index
- move per-class helpers into private methods (EventTouchFront and
  EventInsertEvents collectInvocations)
- use IObjectMover.push for move sequences instead of manual step calls
- registrations.ts: one createEventRegistrations() writing the eight entries
  in order, categories separated by single-line comments
- remove EventBuiltinName; classes own short string names
- update event tests; core.ts uses createEventRegistrations
2026-09-13 19:17:32 +08:00
..
src refactor(event): class-based built-ins, shared utils, single registration 2026-09-13 19:17:32 +08:00
test refactor(event): class-based built-ins, shared utils, single registration 2026-09-13 19:17:32 +08:00
package.json wip(event): scaffold EventSetBlock class, utils helpers, anon-tokyo workspace dep 2026-09-13 19:04:25 +08:00