aboutsummaryrefslogtreecommitdiff
path: root/img/activity-scripts.puml
blob: b833bdf29b1d69c525e46cfc633db3b6cba3f3f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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