aboutsummaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-31 17:01:46 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-31 17:01:46 +0100
commit36f25d64abc37f6fa0fbd1c10f11dfe3ac10b5ea (patch)
tree8b48ea99377d1c811fdbdd9551df7188f55e0e9f /img
parent388d1c218572a55fb0dd413939083ecfc185888d (diff)
WIP more design
Diffstat (limited to 'img')
-rw-r--r--img/activity-scripts.puml21
-rw-r--r--img/theme.ipuml14
2 files changed, 25 insertions, 10 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/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