blob: 41441d6fc227ba457cf5a21a81cbfcc04bae414e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
#include "interfaces/enemy.hpp"
// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class IHero
{
public:
virtual ~IHero() noexcept = default;
virtual void fight(IEnemy &enemy) noexcept = 0;
};
|