All of the UIs should be cleared out, and that just leaves the tests.
This commit is contained in:
parent
d5ff57e025
commit
564f9842a2
23 changed files with 126 additions and 145 deletions
|
@ -1,6 +1,5 @@
|
|||
#pragma once
|
||||
#include "gui/guecstra.hpp"
|
||||
#include "levelmanager.hpp"
|
||||
#include <SFML/Graphics/RenderWindow.hpp>
|
||||
#include <SFML/Graphics/Font.hpp>
|
||||
#include <guecs/ui.hpp>
|
||||
|
@ -12,11 +11,10 @@ namespace gui {
|
|||
public:
|
||||
bool active = false;
|
||||
guecs::UI $gui;
|
||||
GameLevel $level;
|
||||
DinkyECS::Entity $temp_loot;
|
||||
DinkyECS::Entity $target;
|
||||
|
||||
LootUI(GameLevel level);
|
||||
LootUI();
|
||||
|
||||
void set_target(DinkyECS::Entity entity) {
|
||||
$target = entity;
|
||||
|
@ -25,7 +23,7 @@ namespace gui {
|
|||
void init();
|
||||
void update();
|
||||
void render(sf::RenderWindow& window);
|
||||
void update_level(GameLevel &level);
|
||||
void update_level();
|
||||
bool mouse(float x, float y, guecs::Modifiers mods);
|
||||
void make_button(const std::string &name, const std::wstring& label, Events::GUI event);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue