X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fclient%2FInteractiveState.hpp;h=49c54745f8f88c57b94af1b52d6a7f72fb12fd68;hb=54f3f1260b95a924fcb40d9d6de3fa2e2c382f6f;hp=2bc459a330a875e9fb748a9e0a10fda43f61c020;hpb=7e782291e0ce39eb2d4e8c1df28f682c313e6f8d;p=blank.git diff --git a/src/client/InteractiveState.hpp b/src/client/InteractiveState.hpp index 2bc459a..49c5474 100644 --- a/src/client/InteractiveState.hpp +++ b/src/client/InteractiveState.hpp @@ -7,15 +7,14 @@ #include "ChunkReceiver.hpp" #include "NetworkedInput.hpp" #include "../app/IntervalTimer.hpp" +#include "../audio/SoundBank.hpp" #include "../graphics/SkyBox.hpp" #include "../io/WorldSave.hpp" -#include "../model/ModelRegistry.hpp" -#include "../model/ShapeRegistry.hpp" #include "../net/Packet.hpp" +#include "../shared/WorldResources.hpp" #include "../ui/HUD.hpp" #include "../ui/InteractiveManipulator.hpp" #include "../ui/Interface.hpp" -#include "../world/BlockTypeRegistry.hpp" #include "../world/ChunkRenderer.hpp" #include "../world/EntityState.hpp" #include "../world/Player.hpp" @@ -39,8 +38,8 @@ public: World &GetWorld() noexcept { return world; } Player &GetPlayer() noexcept { return player; } + PlayerController &GetPlayerController() noexcept { return input; } ChunkReceiver &GetChunkReceiver() noexcept { return chunk_receiver; } - ModelRegistry &GetModels() noexcept { return models; } void OnEnter() override; @@ -69,9 +68,8 @@ private: private: MasterState &master; - ShapeRegistry shapes; - BlockTypeRegistry block_types; - ModelRegistry models; + WorldResources res; + SoundBank sounds; WorldSave save; World world; Player &player;