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 | |
parent | cf7a38d87164a9be78efd8c045acd43422a1be04 (diff) | |
parent | 0cfe85c3a8766992f9b04c082143283698d756d7 (diff) |
Merge branch 'master' of https://github.com/lonkaars/crepe-docs into wouter/gameloop-design
Diffstat (limited to 'img')
-rw-r--r-- | img/JetpackJoyride.jpg | bin | 0 -> 295103 bytes | |||
-rw-r--r-- | img/activity-scripts.puml | 21 | ||||
-rw-r--r-- | img/class-config.puml | 14 | ||||
-rw-r--r-- | img/class-savemgr.puml | 13 | ||||
-rw-r--r-- | img/class-scripts.puml | 7 | ||||
-rw-r--r-- | img/poc-log.png | bin | 0 -> 12526 bytes | |||
-rw-r--r-- | img/poc-output-scripts.png | bin | 0 -> 31761 bytes | |||
-rw-r--r-- | img/theme.ipuml | 4 |
8 files changed, 56 insertions, 3 deletions
diff --git a/img/JetpackJoyride.jpg b/img/JetpackJoyride.jpg Binary files differnew file mode 100644 index 0000000..d1c0e9e --- /dev/null +++ b/img/JetpackJoyride.jpg 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 diff --git a/img/class-config.puml b/img/class-config.puml new file mode 100644 index 0000000..72e5e6c --- /dev/null +++ b/img/class-config.puml @@ -0,0 +1,14 @@ +@startuml +!include theme.ipuml + +class Config <<singleton>> { + - Config() + + ~Config() + -- + + get_instance() : Config & <<static>> + -- + + log : struct ... + ... +} + +@enduml diff --git a/img/class-savemgr.puml b/img/class-savemgr.puml new file mode 100644 index 0000000..30bcd08 --- /dev/null +++ b/img/class-savemgr.puml @@ -0,0 +1,13 @@ +@startuml +!include theme.ipuml +skinparam Linetype ortho + +class SaveManager { + +} + +class ValueBroker { + +} + +@enduml diff --git a/img/class-scripts.puml b/img/class-scripts.puml index 8fc36c9..44cbe85 100644 --- a/img/class-scripts.puml +++ b/img/class-scripts.puml @@ -10,10 +10,12 @@ package api { class Component <<irrelevant>> class Script { + - Script() + -- # init() <<virtual>> # update() <<virtual>> -- - - Script() + - parent : BehaviorScript * } class BehaviorScript { @@ -26,7 +28,8 @@ package api { } BehaviorScript -u-|> Component - Script .u.> BehaviorScript + Script <.u. BehaviorScript : > friend + Script ..u> BehaviorScript } class System <<irrelevant>> diff --git a/img/poc-log.png b/img/poc-log.png Binary files differnew file mode 100644 index 0000000..12e2c61 --- /dev/null +++ b/img/poc-log.png diff --git a/img/poc-output-scripts.png b/img/poc-output-scripts.png Binary files differnew file mode 100644 index 0000000..068f345 --- /dev/null +++ b/img/poc-output-scripts.png diff --git a/img/theme.ipuml b/img/theme.ipuml index ae3b1c7..c44db05 100644 --- a/img/theme.ipuml +++ b/img/theme.ipuml @@ -1,10 +1,10 @@ ' vim:ft=plantuml - !theme plain skinparam ClassAttributeIconSize 0 skinparam ClassFontStyle bold skinparam DefaultFontName Inter skinparam DefaultFontSize 10 +skinparam DefaultMonospacedFontName "JetBrains Mono" skinparam MaxMessageSize 200 skinparam Nodesep 25 ' skinparam Padding 0 @@ -12,6 +12,8 @@ skinparam Ranksep 50 skinparam RoundCorner 0 skinparam PackageStyle rectangle skinparam PackageFontStyle italic +skinparam ActivityStartColor black +skinparam ActivityEndColor black hide class circle |