Go to file
hypercross 4182bc1578 feat(bt): support generator leaves and delta time
Introduce support for generator functions in leaf tasks, allowing
them to yield for multi-frame execution. The `TaskRunner` now accepts
a delta time (`dt`) parameter, which is passed through to leaf
handlers.

Additionally, a `Cancel` symbol is introduced to allow leaf tasks to
explicitly cancel their subtree via a thrown error.
2026-06-02 00:10:18 +08:00
examples/tetris feat(bt): support generator leaves and delta time 2026-06-02 00:10:18 +08:00
src feat(bt): support generator leaves and delta time 2026-06-02 00:10:18 +08:00
test feat(bt): add repeat and selector task kinds 2026-06-01 22:57:14 +08:00
.gitignore feat: implement core ECS engine with RxJS observability 2026-05-31 15:45:20 +08:00
USAGE.md docs: add USAGE.md documentation 2026-05-31 17:31:21 +08:00
package-lock.json feat(examples): add Tetris game example 2026-06-01 23:18:07 +08:00
package.json feat(examples): add Tetris game example 2026-06-01 23:18:07 +08:00
tsconfig.json feat: implement core ECS engine with RxJS observability 2026-05-31 15:45:20 +08:00
tsup.config.ts feat: add behavior tree implementation 2026-06-01 22:52:10 +08:00
vitest.config.ts test: add vitest and implement unit tests 2026-05-31 15:47:19 +08:00