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.
22 lines
477 B
22 lines
477 B
#pragma once
|
|
#include "levelmanager.hpp"
|
|
#include <SFML/Graphics/RenderWindow.hpp>
|
|
#include <SFML/Graphics/Font.hpp>
|
|
#include <guecs/ui.hpp>
|
|
#include "events.hpp"
|
|
|
|
namespace gui {
|
|
class LootUI {
|
|
public:
|
|
bool active = false;
|
|
guecs::UI $gui;
|
|
GameLevel $level;
|
|
|
|
LootUI(GameLevel level);
|
|
|
|
void init();
|
|
void render(sf::RenderWindow& window);
|
|
void update_level(GameLevel &level);
|
|
bool mouse(float x, float y, bool hover);
|
|
};
|
|
}
|
|
|