implements and integrates sound factory

This commit is contained in:
Johannes Wendel
2020-01-04 18:54:52 +01:00
parent 73ec82b42f
commit 31e5315579
7 changed files with 50 additions and 10 deletions

View File

@@ -10,6 +10,8 @@
#include "Factory.h"
#include "output/SoundBoardPinController.h"
namespace flippR_driver
{
namespace output
@@ -20,10 +22,12 @@ class SoundFactory : Factory
public:
explicit SoundFactory(nlohmann::json & object, std::shared_ptr<SoundBoardPinController> pin_controller);
std::map<std::string, std::shared_ptr<items::Item>> getItemMap() override;
private:
uint8_t deactivation_time;
};
}
}
#endif //FLIPPR_DRIVER_SOUNDFACTORY_H