Added music
This commit is contained in:
1 parent
7db9ca8f70
commit
84f9fa37a8
13 files changed
+118
-8
No files matched your search
+3
-1
@@ -9,6 +9,7 @@
|
||||
#include <deque>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include "AudioPlayerAsync.h"
|
||||
|
||||
// Forward-declared here to avoid pulling Game.h into MenuManager.h.
|
||||
namespace ZL { struct SaveSlotInfo; }
|
||||
@@ -31,7 +32,7 @@ namespace ZL {
|
||||
UiManager uiManager;
|
||||
UiManager topUiManager;
|
||||
|
||||
MenuManager(Renderer& iRenderer, GameState& gameState);
|
||||
MenuManager(Renderer& iRenderer, GameState& gameState, AudioPlayerAsync& audioPlayer);
|
||||
|
||||
void setup(Inventory& inv, const std::string& zipFile);
|
||||
|
||||
@@ -101,6 +102,7 @@ namespace ZL {
|
||||
|
||||
private:
|
||||
GameState& gameState_;
|
||||
AudioPlayerAsync& audioPlayer_;
|
||||
|
||||
void enterGameplay(bool isFromLoad = false);
|
||||
void applyHudForCurrentState();
|
||||
|
||||
Reference in new issue
Block a user