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/map_view.hpp

19 lines
402 B

#pragma once
#include "levelmanager.hpp"
#include "textures.hpp"
#include "guecs.hpp"
#include "tilemap.hpp"
namespace gui {
class MapViewUI {
public:
guecs::UI $gui;
GameLevel $level;
TileMap $tiles;
MapViewUI(GameLevel &level);
void init(int x, int y, int w, int h);
void render(sf::RenderWindow &window);
void update_level(GameLevel &level);
};
}