implements and integrates sound factory
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user