Refactores Factory
This commit is contained in:
@@ -12,7 +12,7 @@ namespace output
|
||||
{
|
||||
|
||||
SoundFactory::SoundFactory(nlohmann::json &object, std::shared_ptr<SoundBoardPinController> pin_controller) :
|
||||
Factory{object, pin_controller},
|
||||
ItemFactory{object, pin_controller},
|
||||
deactivation_time{0}
|
||||
{
|
||||
if (object.find(config_path::deactivation_time) != object.end())
|
||||
|
||||
Reference in New Issue
Block a user