mirror of
https://github.com/motajs/template.git
synced 2026-10-11 07:00:17 +08:00
- 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 |
||
|---|---|---|
| .. | ||
| event.test.ts | ||
| event.ts | ||
| hero.ts | ||
| index.ts | ||
| map.ts | ||
| registrations.ts | ||
| types.ts | ||
| utils.ts | ||