aboutsummaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
authorjaroWMR <jarorutjes07@gmail.com>2024-11-01 15:51:00 +0100
committerjaroWMR <jarorutjes07@gmail.com>2024-11-01 15:51:00 +0100
commitb531e1b60a0267276ae990727bd09a051cf24898 (patch)
treea8e500aa932c8b93ee4f6e8f2a2fc6d059a55923 /img
parent3c1d6ae0271e6f5eec968787a53fb77285215931 (diff)
parent0cfe85c3a8766992f9b04c082143283698d756d7 (diff)
Merge branch 'master' of github.com:lonkaars/crepe-docs into jaro/time-update
Diffstat (limited to 'img')
-rw-r--r--img/activity-scripts.puml21
-rw-r--r--img/class-config.puml14
-rw-r--r--img/class-savemgr.puml13
-rw-r--r--img/class-scripts.puml7
-rw-r--r--img/poc-log.pngbin0 -> 12526 bytes
-rw-r--r--img/poc-output-scripts.pngbin0 -> 31761 bytes
-rw-r--r--img/theme.ipuml14
7 files changed, 57 insertions, 12 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
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
new file mode 100644
index 0000000..12e2c61
--- /dev/null
+++ b/img/poc-log.png
Binary files differ
diff --git a/img/poc-output-scripts.png b/img/poc-output-scripts.png
new file mode 100644
index 0000000..068f345
--- /dev/null
+++ b/img/poc-output-scripts.png
Binary files differ
diff --git a/img/theme.ipuml b/img/theme.ipuml
index 81391e2..c44db05 100644
--- a/img/theme.ipuml
+++ b/img/theme.ipuml
@@ -1,18 +1,10 @@
' vim:ft=plantuml
-
-<style>
-root {
- BackgroundColor white
- FontColor black
- LineThickness 1
- Margin 0
-}
-</style>
-
+!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
@@ -20,6 +12,8 @@ skinparam Ranksep 50
skinparam RoundCorner 0
skinparam PackageStyle rectangle
skinparam PackageFontStyle italic
+skinparam ActivityStartColor black
+skinparam ActivityEndColor black
hide class circle