aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/AudioSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/system/AudioSystem.h')
-rw-r--r--src/crepe/system/AudioSystem.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/crepe/system/AudioSystem.h b/src/crepe/system/AudioSystem.h
index 8fb681f..e037f51 100644
--- a/src/crepe/system/AudioSystem.h
+++ b/src/crepe/system/AudioSystem.h
@@ -8,13 +8,11 @@ namespace crepe {
class AudioSystem : public System {
public:
- AudioSystem(SoundContext & ctx);
-
-public:
- void update();
+ using System::System;
+ void update() override;
private:
- SoundContext & ctx;
+ SoundContext context {};
};
} // namespace crepe