EMBERLINE
README.md
emberline.ui.service
The cabinet, wired up. Requiring this module IS the mount: it registers
Bus.services.ui, registers the three screens (el_hud layer 20,
el_overlay layer 40, el_menu layer 60), binds the fight.* events and
starts reading the keyboard.
require("emberline.ui.service")
Service contract: setPhase hud cutIn show hide banner subtitle
announce flash update teardown.
It reads Bus.state and Bus.registry.fighters. It writes Bus.state.phase
for the MENU phases only (attract / title / select / ending) and
Bus.state.paused on pause - the combat slice owns the fight's own phases
and this module never writes them.
Keyboard: W/S/A/D and the arrows move, Enter or Space confirms, Escape goes back and pauses a running fight. Every move and every confirm makes a sound.