]> git.localhorst.tv Git - blank.git/blobdiff - src/client/InteractiveState.hpp
chat state
[blank.git] / src / client / InteractiveState.hpp
index 02385e2e5a5ff6904aa1031d3ebd12ed61759a0a..49c54745f8f88c57b94af1b52d6a7f72fb12fd68 100644 (file)
@@ -7,6 +7,7 @@
 #include "ChunkReceiver.hpp"
 #include "NetworkedInput.hpp"
 #include "../app/IntervalTimer.hpp"
+#include "../audio/SoundBank.hpp"
 #include "../graphics/SkyBox.hpp"
 #include "../io/WorldSave.hpp"
 #include "../net/Packet.hpp"
@@ -37,6 +38,7 @@ public:
 
        World &GetWorld() noexcept { return world; }
        Player &GetPlayer() noexcept { return player; }
+       PlayerController &GetPlayerController() noexcept { return input; }
        ChunkReceiver &GetChunkReceiver() noexcept { return chunk_receiver; }
 
        void OnEnter() override;
@@ -67,6 +69,7 @@ private:
 private:
        MasterState &master;
        WorldResources res;
+       SoundBank sounds;
        WorldSave save;
        World world;
        Player &player;