LEL is working at a basic grid level, able to render boxes where I want.
This commit is contained in:
parent
846b7aaf16
commit
872cedc8e1
8 changed files with 127 additions and 99 deletions
|
@ -2,11 +2,15 @@
|
|||
#include "panel.hpp"
|
||||
#include "levelmanager.hpp"
|
||||
#include <SFML/Graphics/RenderWindow.hpp>
|
||||
#include <SFML/Graphics/RectangleShape.hpp>
|
||||
#include "lel.hpp"
|
||||
|
||||
namespace gui {
|
||||
class CombatUI {
|
||||
public:
|
||||
LELParser $layout;
|
||||
GameLevel $level;
|
||||
std::unordered_map<std::string, sf::RectangleShape> $shapes;
|
||||
CombatUI(GameLevel level);
|
||||
|
||||
void draw(sf::RenderWindow& window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue