From 0d9e25c9ff7c7990b9ca1bf3ea9a031db18a50b8 Mon Sep 17 00:00:00 2001 From: photonstorm Date: Wed, 25 Jan 2017 17:23:55 +0000 Subject: [PATCH] Updating tree. --- v3/dev-guide/README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/v3/dev-guide/README.md b/v3/dev-guide/README.md index 46ee2895d..25316eada 100644 --- a/v3/dev-guide/README.md +++ b/v3/dev-guide/README.md @@ -291,17 +291,20 @@ Every time RAF ticks it calls the following (in order) In a tree form it maps to the following: ``` -+ StateManager.step (iterates all active States) ++ Game.step ++ MainLoop.step | - +- State.sys.mainloop.step (updates delta values) - +- State.sys.begin + +- All Active States: + +- State.sys.begin (called once per active state) +- While (frameDelta within step range) | +- State.sys.update +- Iterates State.children, if child exists, call child.update +- State.update | - +- State.sys.preRender + +- Renderer.preRender + +- + +- State.sys.render +- Update Manager Start (State.sys.updates) +- Game.renderer.render (if State is visible) |