Exploring raycasters and possibly make a little "doom like" game based on it.
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.
 
 
 
 
 
 
raycaster/main_ui.hpp

24 lines
489 B

#pragma once
#include "levelmanager.hpp"
#include <SFML/Graphics/RenderWindow.hpp>
#include "stats.hpp"
#include "overlay_ui.hpp"
namespace gui {
class MainUI {
public:
Stats $stats;
sf::RenderWindow& $window;
GameLevel $level;
TexturePack& $textures;
OverlayUI $overlay_ui;
MainUI(sf::RenderWindow& window, GameLevel level, TexturePack &textures);
void debug();
void draw_stats();
void draw_blood();
void render();
void draw();
};
}