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 FollowCamera {
property Position { column: int = 0, row: int = 0 }
model Player { Position }
var camera_column: int = 0
state FollowCameraState {
camera_column: int = 0
}
handler SpawnPlayer phase Start {
spawn Player { Position { column: 12, row: 0 } }
@ -29,8 +31,8 @@ program FollowCamera {
# runs after MovePlayer, so the camera sees the final position
@Queries(these: [Position])
handler TrackPlayer phase LateUpdate {
camera_column = Position.column
handler TrackPlayer(follow_camera_st: mut FollowCameraState) phase LateUpdate {
follow_camera_st.camera_column = Position.column
}
}
```