aboutsummaryrefslogtreecommitdiff
path: root/examples/basic/src/interfaces/enemy_creator.hpp
blob: 2675feaffbf6c102435146ade54f8491e0b08be5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include "interfaces/enemy.hpp"

#include <memory>

// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class IEnemyCreator
{
public:
	virtual ~IEnemyCreator() = default;

	virtual auto create_small_enemy() noexcept -> std::unique_ptr<IEnemy> = 0;

	virtual auto create_big_enemy() noexcept -> std::unique_ptr<IEnemy> = 0;
};