An error occurred while loading the file. Please try again.
-
Дорожкин Дмитрий Михайлович authored0789859a
#pragma once
#include <SFML/Graphics.hpp>
#include <array>
class MyFont {
public:
static sf::Font& Instance();
private:
sf::Font m_font;
MyFont();
};
struct IDrawable {
virtual void draw_into(sf::RenderWindow& window) const = 0;
virtual ~IDrawable() = default;
};