18 lines
461 B
C++
18 lines
461 B
C++
#include "level.hpp"
|
|
#include "utils/godot_macros.h"
|
|
|
|
namespace utils {
|
|
void Level3D::_bind_methods() {
|
|
#define CLASSNAME Level3D
|
|
GDPROPERTY_HINTED(game_mode_prototype, gd::Variant::OBJECT, gd::PROPERTY_HINT_RESOURCE_TYPE, "GameMode");
|
|
}
|
|
|
|
void Level3D::set_game_mode_prototype(gd::Ref<GameMode> prototype) {
|
|
this->game_mode_prototype = prototype;
|
|
}
|
|
|
|
gd::Ref<GameMode> Level3D::get_game_mode_prototype() const {
|
|
return this->game_mode_prototype;
|
|
}
|
|
}
|