diff options
author | Max-001 <80035972+Max-001@users.noreply.github.com> | 2024-10-09 17:18:19 +0200 |
---|---|---|
committer | Max-001 <80035972+Max-001@users.noreply.github.com> | 2024-10-09 17:18:19 +0200 |
commit | 4669fc33ffbf428ff7a58d1937e1aede5e9ba038 (patch) | |
tree | ee3d227dc32723ed4fd20a4e59edc819c952c1bb /img/facade-audio.puml | |
parent | aa2835cbdbfd71f9d2b6ff74f3243862c2c56ca8 (diff) | |
parent | d3f498235d90112a31c55c4625f719ea09f01217 (diff) |
Merge remote-tracking branch 'origin/master' into max/time
Diffstat (limited to 'img/facade-audio.puml')
-rw-r--r-- | img/facade-audio.puml | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/img/facade-audio.puml b/img/facade-audio.puml index 6749915..60af60f 100644 --- a/img/facade-audio.puml +++ b/img/facade-audio.puml @@ -2,14 +2,11 @@ !include theme.ipuml skinparam Linetype ortho - package crepe { - package api { - class Resource <<irrelevant>> - } + class Asset <<irrelevant>> class Sound { - +Sound(resource) + +Sound(asset) -- +pause() +play() @@ -20,7 +17,7 @@ package crepe { -sample : SoLoud::Wav -handle : SoLoud::handle -- - -load(resource) + -load(asset) } class SoundContext <<Singleton>> { @@ -31,6 +28,11 @@ package crepe { -- -engine : SoLoud::Soloud } + + Sound .> SoundContext + SoundContext .> Sound + + Sound .left> Asset } package SoLoud { @@ -38,15 +40,10 @@ package SoLoud { class Wav <<irrelevant>> } -' layout -crepe -[hidden]down- SoLoud - crepe.Sound --> SoLoud.Wav crepe.SoundContext --> SoLoud.Soloud -crepe.Sound .> crepe.SoundContext -crepe.SoundContext .> crepe.Sound - -crepe.Sound .> crepe.api.Resource +' LAYOUT +crepe -[hidden]down- SoLoud @enduml |