2024-03-13 15:08:37 +00:00
|
|
|
#ifndef LEVEL_HPP
|
|
|
|
#define LEVEL_HPP
|
|
|
|
|
|
|
|
#include "game_mode.hpp"
|
2024-05-28 14:28:36 +00:00
|
|
|
#include <godot_cpp/classes/node3d.hpp>
|
2024-03-13 15:08:37 +00:00
|
|
|
|
2024-05-28 14:28:36 +00:00
|
|
|
namespace gd = godot;
|
2024-03-13 15:08:37 +00:00
|
|
|
|
2024-05-28 14:28:36 +00:00
|
|
|
namespace utils {
|
|
|
|
class Level3D : public gd::Node3D {
|
|
|
|
GDCLASS(Level3D, gd::Node3D);
|
2024-03-13 15:08:37 +00:00
|
|
|
static void _bind_methods();
|
|
|
|
public:
|
2024-05-28 14:28:36 +00:00
|
|
|
void set_game_mode_prototype(gd::Ref<GameMode> prototype);
|
|
|
|
gd::Ref<GameMode> get_game_mode_prototype() const;
|
2024-03-13 15:08:37 +00:00
|
|
|
private:
|
2024-05-28 14:28:36 +00:00
|
|
|
gd::Ref<GameMode> game_mode_prototype{};
|
2024-03-13 15:08:37 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // !LEVEL_HPP
|