docs(event-contract): sync with current built-in names and collection design

- built-in names: setBlock/moveBlock/removeBlock/moveHero/stepHero/touchFront/
  insertEvents/insertEvent (class names Event*)
- removeBlock: static by default, dynamic:true also removes dynamic tiles
- touchFront: steps the hero forward; the mover produces the OnTouch on bump
- GameEventSystem.collectEvent owns source collection; mover enter/leave/hit reuse it
- IBlockEventEnv gains required system and nullable heroFloor; utils.ts keeps only
  getPossibleMap/getPossibleLayer
This commit is contained in:
AncTe committed 2026-09-13 20:40:15 +08:00
1 parent a66be585d1
commit 0ba70e1a63
2 files changed
+58 -41

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ export interface IMoveHeroEventParam {
/** 事件:向前移动一步 */
export interface IStepHeroEventParam {}
/** 事件:触发勇士面前的 onTouch */
/** 事件:勇士向前一步,前方不可通行时触发撞击 */
export interface ITouchFrontEventParam {}
//#endregion