diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-01 17:57:47 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-01 17:57:47 +0200 |
commit | f91594111d9af7082444cbd434d2d52e6bd40700 (patch) | |
tree | b1eb879ea22df5827d594e3e2599acc2a320c1e5 /img/facade-audio.puml | |
parent | 44da8d4f03be549ddb8b56941e6ab7c3eaca5eca (diff) |
rename SoundSystem to SoundContext
Diffstat (limited to 'img/facade-audio.puml')
-rw-r--r-- | img/facade-audio.puml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/img/facade-audio.puml b/img/facade-audio.puml index b256f47..6749915 100644 --- a/img/facade-audio.puml +++ b/img/facade-audio.puml @@ -14,8 +14,8 @@ package crepe { +pause() +play() +rewind() - +set_volume(float) - +set_looping(bool) + -volume : float <<+set>> <<+get>> + -looping : bool <<+set>> <<+get>> -- -sample : SoLoud::Wav -handle : SoLoud::handle @@ -23,11 +23,11 @@ package crepe { -load(resource) } - class SoundSystem <<Singleton>> { - -instance() : SoundSystem& <<static>> + class SoundContext <<Singleton>> { + -instance() : SoundContext& <<static>> -- - -SoundSystem() - -~SoundSystem() + -SoundContext() + -~SoundContext() -- -engine : SoLoud::Soloud } @@ -42,10 +42,10 @@ package SoLoud { crepe -[hidden]down- SoLoud crepe.Sound --> SoLoud.Wav -crepe.SoundSystem --> SoLoud.Soloud +crepe.SoundContext --> SoLoud.Soloud -crepe.Sound .> crepe.SoundSystem -crepe.SoundSystem .> crepe.Sound +crepe.Sound .> crepe.SoundContext +crepe.SoundContext .> crepe.Sound crepe.Sound .> crepe.api.Resource |