docs(0.S): the doc fences migrated by ludic migrate state; LANGUAGE.md's state section says what the tool and the checker do now; no module-level var left in the docs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-25 15:37:29 +03:00
parent 19fcf60599
commit a476ec7976
79 changed files with 481 additions and 355 deletions

View file

@ -16,7 +16,9 @@ program SceneHookExample {
property Position { column: int = 0, row: int = 0 }
model Enemy { Position }
var elapsed_frames: int = 0
state SceneHookExampleState {
elapsed_frames: int = 0
}
scene Overworld start {
layer World {
@ -31,8 +33,8 @@ program SceneHookExample {
}
scene Battle {
on enter {
elapsed_frames = 0
on enter (scene_hook_example_st: mut SceneHookExampleState) {
scene_hook_example_st.elapsed_frames = 0
spawn Enemy { Position { column: 8, row: 4 } }
}
on exit {