13 lines
579 B
Markdown
13 lines
579 B
Markdown
|
|
# js/physics/abilities/ — agents.md
|
||
|
|
RC-375D84 S-2. Module map: `MODULES.md`; runtime model: `architecture.md`.
|
||
|
|
|
||
|
|
Installs into `P`: launch, triggerAbility.
|
||
|
|
|
||
|
|
- `launch(g, vx, vy)` performs the turn transition (aiming -> flying, launched
|
||
|
|
counter, active-bird advance on settle).
|
||
|
|
- `triggerAbility(g)` implements the three mid-flight moves (fury / dive /
|
||
|
|
quake) keyed off the active bird's type and `ABILITY_CD`. Each slinger's move
|
||
|
|
is pinned by the "abilities" test arm (distinct, usable, no-op when
|
||
|
|
unavailable).
|
||
|
|
- Consumes: activeBird, aimVector, MATERIALS, BIRD_TYPES.
|