]> git.localhorst.tv Git - blank.git/blob - src/ui/InteractiveManipulator.hpp
merge common parts of pre- and unload states
[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 Environment;
14
15 class InteractiveManipulator
16 : public WorldManipulator {
17
18 public:
19         explicit InteractiveManipulator(Environment &, Entity &);
20
21         void SetBlock(Chunk &, int, const Block &) override;
22
23 private:
24         Entity &player;
25         Audio &audio;
26         Sound place_sound;
27         Sound remove_sound;
28
29 };
30
31 }
32
33 #endif