diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-08 08:37:57 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-08 08:37:57 +0100 |
commit | 49bfc07e26895ccca07a35734458be4c7de55e02 (patch) | |
tree | 846a5adcbff72bd4e401ea7027d52e1c69ff9348 /img/gameloop-flow.puml | |
parent | 2f06c772447def6d6a27ea9c3b44d4a147463104 (diff) | |
parent | c0faea2a3d391b5d9ff630f91b3329d7e3265c26 (diff) |
Merge branch 'master' of https://github.com/lonkaars/crepe-docs into wouter/time
Diffstat (limited to 'img/gameloop-flow.puml')
-rw-r--r-- | img/gameloop-flow.puml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/img/gameloop-flow.puml b/img/gameloop-flow.puml new file mode 100644 index 0000000..e75ea42 --- /dev/null +++ b/img/gameloop-flow.puml @@ -0,0 +1,26 @@ +@startuml +!include theme.ipuml +start + +:Initialize LoopManager; +:Start LoopTimer; + +repeat + :Update LoopTimer; + :Check for Events; + :Process Input; + + while (Lag >= Fixed Delta Time?) is (yes) + :Perform Fixed Update; + :Advance Fixed Update; + endwhile + + :Perform Normal Update; + :Render Frame; + +repeat while (Game Running?) + +:Game exit logic; + +stop +@enduml |