aboutsummaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
Diffstat (limited to 'img')
-rw-r--r--img/JetpackJoyride.jpgbin0 -> 295103 bytes
-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.ipuml4
8 files changed, 56 insertions, 3 deletions
diff --git a/img/JetpackJoyride.jpg b/img/JetpackJoyride.jpg
new file mode 100644
index 0000000..d1c0e9e
--- /dev/null
+++ b/img/JetpackJoyride.jpg
Binary files differ
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 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