aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/AudioSource.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/crepe/api/AudioSource.h b/src/crepe/api/AudioSource.h
index 0950129..9d76f0b 100644
--- a/src/crepe/api/AudioSource.h
+++ b/src/crepe/api/AudioSource.h
@@ -2,6 +2,7 @@
#include "../Component.h"
#include "../types.h"
+#include "../util/Private.h"
#include "GameObject.h"
#include "Asset.h"
@@ -47,14 +48,8 @@ private:
bool rewind = false;
private:
- //! Value of \c active after last system update
- bool last_active = false;
- //! Value of \c playing after last system update
- bool last_playing = false;
- //! Value of \c volume after last system update
- float last_volume = 1.0;
- //! Value of \c loop after last system update
- bool last_loop = false;
+ //! AudioSystem::ComponentPrivate
+ Private private_data;
};
} // namespace crepe