ludic migrate state packages <every example program> packages/ludic.lab/example/plate.ludic 1804 vars into 126 states, 64 into lets; 23498 edits in 460 files Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
422 B
Text
10 lines
422 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(hints_st: mut HintsState, t: Tick) -> void { hints_tick(hints_st, 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
|
|
}
|