2021-12-29 15:59:18 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <SFML/Graphics/RenderWindow.hpp>
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
#include "shared/classicmode/classicfactory.h"
|
|
|
|
|
|
|
|
class ClassicFactorySFML : public ClassicFactory
|
|
|
|
{
|
|
|
|
public:
|
2022-01-12 15:09:43 +01:00
|
|
|
explicit ClassicFactorySFML(sf::RenderTarget * const render_target);
|
2021-12-29 15:59:18 +01:00
|
|
|
virtual std::unique_ptr<kku::Game> getGame() const override;
|
|
|
|
virtual std::unique_ptr<kku::Editor> getEditor() const override;
|
|
|
|
|
|
|
|
private:
|
2022-01-12 15:09:43 +01:00
|
|
|
sf::RenderTarget * const _render_target;
|
2021-12-29 15:59:18 +01:00
|
|
|
};
|