X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2FInteractiveManipulator.hpp;fp=src%2Fui%2FInteractiveManipulator.hpp;h=6975d9eb5599e87c9519ad299a713ced981702fb;hb=b066e776622f96e906600a0c4a08de392bd03676;hp=0000000000000000000000000000000000000000;hpb=e1209ec25c4cc91e13889876106f56bd51aa96e2;p=blank.git diff --git a/src/ui/InteractiveManipulator.hpp b/src/ui/InteractiveManipulator.hpp new file mode 100644 index 0000000..6975d9e --- /dev/null +++ b/src/ui/InteractiveManipulator.hpp @@ -0,0 +1,33 @@ +#ifndef BLANK_UI_INTERACTIVEMANIPULATOR_HPP_ +#define BLANK_UI_INTERACTIVEMANIPULATOR_HPP_ + +#include "../world/WorldManipulator.hpp" + +#include "../audio/Sound.hpp" + + +namespace blank { + +class Audio; +class Entity; +class Environment; + +class InteractiveManipulator +: public WorldManipulator { + +public: + explicit InteractiveManipulator(Environment &, Entity &); + + void SetBlock(Chunk &, int, const Block &) override; + +private: + Entity &player; + Audio &audio; + Sound place_sound; + Sound remove_sound; + +}; + +} + +#endif