levelmanager.* is now gone, but the code is just moved over to game_level. Now to clean up the api and give it a new name.

This commit is contained in:
Zed A. Shaw 2025-08-20 01:10:42 -04:00
parent 5aca2fb56a
commit a83ee77eea
17 changed files with 147 additions and 178 deletions

View file

@ -1,5 +1,5 @@
#pragma once
#include "levelmanager.hpp"
#include "game_level.hpp"
#include <SFML/Graphics/RenderWindow.hpp>
#include <SFML/Graphics/Font.hpp>
#include <guecs/ui.hpp>
@ -10,11 +10,8 @@ namespace gui {
public:
Stats $stats;
guecs::UI $gui;
LevelManager& $level_mgr;
bool active = false;
DebugUI(LevelManager& level_mgr);
void init(lel::Cell cell);
void render(sf::RenderWindow& window);
bool mouse(float x, float y, guecs::Modifiers mods);