#include <QObject>#include <QQmlEngine>Go to the source code of this file.
Classes | |
| class | Soundmanager |
| The Soundmanager class provides several sounds which can be played. The Soundmanager is implemented as a singleton to manage the required resources. More... | |
Enumerations | |
| enum | SoundEffects { SoundEffects::Collision1 = 0, SoundEffects::Collision2 = 1, SoundEffects::Collision3 = 2, SoundEffects::Collision4 = 3, SoundEffects::Collision5 = 4, SoundEffects::Collision6 = 5, SoundEffects::Collision7 = 6, SoundEffects::GameOver = 7 } |
Functions | |
| QObject * | soundmanagerSingletontypeProvider (QQmlEngine *engine, QJSEngine *scriptEngine) |
| Callback function used to get the current instance of Soundmanager within QML. More... | |
|
strong |
| QObject* soundmanagerSingletontypeProvider | ( | QQmlEngine * | engine, |
| QJSEngine * | scriptEngine | ||
| ) |
Callback function used to get the current instance of Soundmanager within QML.
| engine | Unused parameter required by callback. |
| scriptEngine | Unused parameter required by callback. |
1.8.8