mirror of
https://github.com/motajs/template.git
synced 2026-10-07 21:10:18 +08:00
- 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. |
||
|---|---|---|
| .. | ||
| enemy | ||
| event | ||
| hero | ||
| legacy | ||
| replay | ||
| core.ts | ||
| coreEventLayer.test.ts | ||
| index.ts | ||
| ins.ts | ||
| shared.ts | ||
| types.ts | ||