]> git.localhorst.tv Git - blank.git/blobdiff - src/ui/InteractiveManipulator.hpp
block sounds depending on block type
[blank.git] / src / ui / InteractiveManipulator.hpp
index 6975d9eb5599e87c9519ad299a713ced981702fb..00d3285f33251219c48f5fbed29d044752be6667 100644 (file)
@@ -10,21 +10,20 @@ namespace blank {
 
 class Audio;
 class Entity;
-class Environment;
+class SoundBank;
 
 class InteractiveManipulator
 : public WorldManipulator {
 
 public:
-       explicit InteractiveManipulator(Environment &, Entity &);
+       explicit InteractiveManipulator(Audio &, const SoundBank &, Entity &);
 
        void SetBlock(Chunk &, int, const Block &) override;
 
 private:
        Entity &player;
        Audio &audio;
-       Sound place_sound;
-       Sound remove_sound;
+       const SoundBank &sounds;
 
 };