]> git.localhorst.tv Git - blank.git/blob - src/ui/InteractiveManipulator.hpp
block sounds depending on block type
[blank.git] / src / ui / InteractiveManipulator.hpp
1 #ifndef BLANK_UI_INTERACTIVEMANIPULATOR_HPP_
2 #define BLANK_UI_INTERACTIVEMANIPULATOR_HPP_
3
4 #include "../world/WorldManipulator.hpp"
5
6 #include "../audio/Sound.hpp"
7
8
9 namespace blank {
10
11 class Audio;
12 class Entity;
13 class SoundBank;
14
15 class InteractiveManipulator
16 : public WorldManipulator {
17
18 public:
19         explicit InteractiveManipulator(Audio &, const SoundBank &, Entity &);
20
21         void SetBlock(Chunk &, int, const Block &) override;
22
23 private:
24         Entity &player;
25         Audio &audio;
26         const SoundBank &sounds;
27
28 };
29
30 }
31
32 #endif