drawable.hpp 286 bytes
#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;