You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
461 B
21 lines
461 B
#pragma once
|
|
#include "levelmanager.hpp"
|
|
#include <SFML/Graphics/RenderWindow.hpp>
|
|
#include <SFML/Graphics/Font.hpp>
|
|
#include "guecs.hpp"
|
|
|
|
namespace gui {
|
|
class OverlayUI {
|
|
public:
|
|
guecs::UI $gui;
|
|
GameLevel $level;
|
|
TexturePack& $textures;
|
|
|
|
OverlayUI(GameLevel level, TexturePack& $textures);
|
|
|
|
void render();
|
|
void draw(sf::RenderWindow& window);
|
|
void click(int x, int y);
|
|
void show_damage(bool show);
|
|
};
|
|
}
|
|
|