#include "bootstrap.hpp" // Interfaces #include "interfaces/enemy.hpp" #include "interfaces/hero.hpp" #include "interfaces/weapon.hpp" // Concretes #include "enemy.hpp" #include "hero.hpp" #include "sword.hpp" yacppdic::Container bootstrap() { auto container = yacppdic::Container(); container.bind().to(); container.bind().to(); container.bind().to_factory( []() { return std::make_unique(); } ); return container; }