... | ... | @@ -94,17 +94,29 @@ participant simulation |
|
|
participant compoundTracker
|
|
|
participant trackerA
|
|
|
participant trackerB
|
|
|
|
|
|
simulation -> compoundTracker : beforeStep
|
|
|
|
|
|
activate compoundTracker
|
|
|
compoundTracker -> trackerA : beforeStep
|
|
|
compoundTracker -> trackerB : beforeStep
|
|
|
compoundTracker -> trackerA : beforeStep
|
|
|
compoundTracker -> trackerB : beforeStep
|
|
|
deactivate compoundTracker
|
|
|
|
|
|
simulation -> simulation : step
|
|
|
activate simulation
|
|
|
|
|
|
deactivate simulation
|
|
|
simulation -> simulation : planet update
|
|
|
simulation -> compoundTracker : planetsChanged
|
|
|
activate compoundTracker
|
|
|
compoundTracker -> trackerA : planetsChanged
|
|
|
compoundTracker -> trackerB : planetsChanged
|
|
|
deactivate compoundTracker
|
|
|
deactivate simulation
|
|
|
|
|
|
|
|
|
simulation -> compoundTracker : afterStep
|
|
|
activate compoundTracker
|
|
|
compoundTracker -> trackerA : afterStep
|
|
|
compoundTracker -> trackerB : afterStep
|
|
|
deactivate compoundTracker
|
|
|
deactivate simulation
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |