8#ifndef UIRENDERSYSTEM_HPP_
9#define UIRENDERSYSTEM_HPP_
11#include <SFML/Graphics.hpp>
12#include <unordered_map>
29 void update(
float dt)
override;
39 sf::Font&
loadFont(
const std::string& fontPath);
40 sf::Texture&
loadTexture(
const std::string& texturePath);
44 std::unordered_map<std::string, sf::Font>
_fonts;
45 std::unordered_map<std::string, sf::Texture>
_textures;
Interface for ECS systems.
void renderTextInputs(float dt)
void update(float dt) override
Update system logic for one frame.
void renderSpritePreviews()
std::unordered_map< std::string, sf::Font > _fonts
sf::Texture & loadTexture(const std::string &texturePath)
std::unordered_map< std::string, sf::Texture > _textures
sf::Font & loadFont(const std::string &fontPath)
sf::RenderWindow & _window
ecs::Registry & _registry
Abstract base class for all ECS systems.