aboutsummaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
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