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:
parent
19fcf60599
commit
a476ec7976
79 changed files with 481 additions and 355 deletions
|
|
@ -16,11 +16,13 @@ program EnterHookExample {
|
|||
property Position { column: int = 0, row: int = 0 }
|
||||
model Player { Position }
|
||||
|
||||
var score: int = 0
|
||||
state EnterHookExampleState {
|
||||
score: int = 0
|
||||
}
|
||||
|
||||
scene Overworld start {
|
||||
on enter {
|
||||
score = 0
|
||||
on enter (enter_hook_example_st: mut EnterHookExampleState) {
|
||||
enter_hook_example_st.score = 0
|
||||
spawn Player { Position { column: 5, row: 5 } }
|
||||
}
|
||||
layer World {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue