Skip to content

Commit 0d9e25c

Browse files
committed
Updating tree.
1 parent 6ee4991 commit 0d9e25c

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

v3/dev-guide/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,17 +291,20 @@ Every time RAF ticks it calls the following (in order)
291291
In a tree form it maps to the following:
292292

293293
```
294-
+ StateManager.step (iterates all active States)
294+
+ Game.step
295+
+ MainLoop.step
295296
|
296-
+- State.sys.mainloop.step (updates delta values)
297-
+- State.sys.begin
297+
+- All Active States:
298+
+- State.sys.begin (called once per active state)
298299
+- While (frameDelta within step range)
299300
|
300301
+- State.sys.update
301302
+- Iterates State.children, if child exists, call child.update
302303
+- State.update
303304
|
304-
+- State.sys.preRender
305+
+- Renderer.preRender
306+
+-
307+
+- State.sys.render
305308
+- Update Manager Start (State.sys.updates)
306309
+- Game.renderer.render (if State is visible)
307310
|

0 commit comments

Comments
 (0)