A retro style homage to 80s dungeon crawlers hand crafted in C++.
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/game_level.hpp

27 lines
625 B

#pragma once
#include "dinkyecs.hpp"
#include "gui/boss_fight_ui.hpp"
struct GameLevel;
struct LevelManager;
namespace components {
struct Position;
}
namespace Game {
std::shared_ptr<gui::BossFightUI> create_bossfight();
GameLevel& create_level();
void init();
LevelManager& get_the_manager();
GameLevel &next();
GameLevel &previous();
GameLevel &current();
size_t current_index();
std::shared_ptr<DinkyECS::World> current_world();
GameLevel &get(size_t index);
DinkyECS::Entity spawn_enemy(const std::string& named);
components::Position& player_position();
DinkyECS::Entity the_player();
}