#include "bootstrap.hpp" #include "interfaces/enemy.hpp" #include "interfaces/hero.hpp" #include int main() { auto container = bootstrap(); auto hero = container.get(); std::cout << "Created a hero\n"; auto enemy = container.get(); std::cout << "Created a enemy with " << enemy->get_health() << " in health\n"; hero->fight(*enemy); std::cout << "The hero hit the enemy! The enemy now has " << enemy->get_health() << " in health\n"; }