project-kyoku/src/impl/sfml/classicmode/classicfactorysfml.h

18 lines
478 B
C
Raw Normal View History

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:
explicit ClassicFactorySFML(const std::shared_ptr<sf::RenderTarget>& render_target);
virtual std::unique_ptr<kku::Game> getGame() const override;
virtual std::unique_ptr<kku::Editor> getEditor() const override;
private:
const std::shared_ptr<sf::RenderTarget> _render_target;
};