#pragma once #include "dinkyecs.hpp" #include "gui/boss_fight_ui.hpp" #include "dinkyecs.hpp" #include "lights.hpp" #include "map.hpp" #include #include "spatialmap.hpp" namespace components { struct Position; } namespace GameDB { struct Level { size_t index; DinkyECS::Entity player; std::shared_ptr map = nullptr; std::shared_ptr world = nullptr; std::shared_ptr lights = nullptr; std::shared_ptr collision = nullptr; }; std::shared_ptr create_bossfight(); Level& create_level(); void init(); Level ¤t_level(); std::shared_ptr current_world(); components::Position& player_position(); DinkyECS::Entity the_player(); }