Refactores item factories
This commit is contained in:
@@ -20,7 +20,8 @@ class DisplayFactory : ItemFactory
|
||||
{
|
||||
public:
|
||||
explicit DisplayFactory(nlohmann::json & object, std::shared_ptr<DisplayBoardPinController> pin_controller);
|
||||
std::map<std::string, std::shared_ptr<items::Item>> getItemMap() override;
|
||||
|
||||
std::map<std::string, std::shared_ptr<items::Display>> getItemMap();
|
||||
|
||||
private:
|
||||
void create_pin_map();
|
||||
|
||||
Reference in New Issue
Block a user