Commit Graph
16 Commits
Author SHA1 Message Date
AncTe a66be585d1 feat(event): rework built-ins and centralize trigger collection
- rename deleteBlock -> removeBlock (dynamic tiles need dynamic:true),
  moveHeroStep -> stepHero; touchFront steps forward and lets the mover bump
- GameEventSystem.collectEvent owns point/tile source collection; moverImpl
  enter/leave/hit reuse it with OnEnter/OnLeave/OnTouch
- IBlockEventEnv gains required system field and nullable heroFloor
- MapLayer.removeBlock added and setBlock guarded by inMap; GameMap owns floorId
- IObjectMover.push accepts readonly steps
- update event/eventDispatch tests to the current implementation (fixtures
  supply system, hero location snapshots, renamed registrations)

Verified: data type gate 0 in-scope; vitest 19 files / 112 tests pass; prettier
and eslint clean on touched files.
2026-09-13 20:37:32 +08:00
AncTe 4eec08638e feat(03-01): add awaited replay movement tracer
- exercise source-aware event mutation on a fixed map
- verify Node replay reaches its normal end state
2026-09-10 15:43:26 +08:00
AncTe 7dd4f39e7e fix: getLocationData logic 2026-09-09 19:42:37 +08:00
AncTe 33966fb4dd test(event): polyfill map insertion in fixtures 2026-09-09 13:06:27 +08:00
AncTe 63d4d37ff3 fix(event): finalize event reference changes 2026-09-09 13:03:42 +08:00
AncTe 64efcf2555 refactor(event): centralize point event references 2026-09-09 12:53:37 +08:00
AncTe bcfa1f9467 fix(01-10): restore tile defaults and stable event snapshots
- Rebuild raw tile event baselines on construction, set, load, and conversion.
- Preserve coordinate-owned point events through dynamic movement and copy save Maps.
2026-09-09 00:08:38 +08:00
AncTe 974669b00a fix(01-06): remove unsupported map upsert runtime calls
- Use explicit Map lookup and insertion in point and dynamic indexes.
- Keep raw event tests runnable in the Node Vitest environment.
2026-09-08 23:54:09 +08:00
AncTe 7eeab32134 refactor: 游戏地图接口重构 2026-08-21 01:39:47 +08:00
AncTe 1717400945 refactor: 触发器 2026-07-27 18:04:05 +08:00
AncTe eb34d63e96 feat: 图块信息接口 2026-06-28 19:32:46 +08:00
AncTe 8f4c4b7df2 refactor: 将 Layer 0 单独放到一个包 2026-05-17 21:32:23 +08:00
AncTe bf781c5ee8 feat: 静态触发器存储 2026-05-17 20:49:08 +08:00
AncTe fbdd609001 feat: 动态图层 2026-05-11 23:35:46 +08:00
AncTeandCopilot 70a58ef4dc refactor: 地图存储
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 13:33:49 +08:00
AncTe ec59a44efc refactor: CoreState 一部分类型声明挪到 data-base 2026-04-21 21:01:53 +08:00