ludic/packages/ludic.hints/system.ludic

10 lines
386 B
Text

# system.ludic - the rail as a system in PH_PRESENT: it only reads the world, and a trip saves
# nothing of it (the mutes are the player's, kept wherever the game keeps its settings)
function hn_tick(t: Tick) -> void { hints_tick(t.dt) }
export function hints_system() -> System {
let s = system_new("hints", PH_PRESENT)
s.reset = fn hints_reset
s.tick = fn hn_tick
return s
}