1 2 3 4 5 6 7 8 9 10 11
#pragma once #include "interfaces/enemy.hpp" class IHero { public: virtual ~IHero() noexcept = default; virtual void fight(IEnemy &enemy) noexcept = 0; };