diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-02 20:54:03 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-02 20:54:03 +0100 |
commit | 291b1c68f454230b050cb9651c980d08c517c5b6 (patch) | |
tree | ad47c420532c441d02256b0d2c8d148ea94599b1 /img/activity-scripts.puml | |
parent | cf7a38d87164a9be78efd8c045acd43422a1be04 (diff) | |
parent | 0cfe85c3a8766992f9b04c082143283698d756d7 (diff) |
Merge branch 'master' of https://github.com/lonkaars/crepe-docs into wouter/gameloop-design
Diffstat (limited to 'img/activity-scripts.puml')
-rw-r--r-- | img/activity-scripts.puml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/img/activity-scripts.puml b/img/activity-scripts.puml new file mode 100644 index 0000000..b833bdf --- /dev/null +++ b/img/activity-scripts.puml @@ -0,0 +1,21 @@ +@startuml +!include theme.ipuml + +start + +label continue +:Get list of ""BehaviorScript"" components from ""ComponentManager""; + +while (for each ""BehaviorScript"" in list) + if (""BehaviorScript"" is active) then (yes) + if (""BehaviorScript"" has an instance of ""Script"") then (yes) + :Call update function of ""BehaviorScript""'s ""Script"" instance; + else (no) + endif + else (no) + endif +endwhile + +stop + +@enduml |