mirror of
https://github.com/motajs/template.git
synced 2026-10-05 03:00:16 +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 |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| package.json | ||