#include "level.hpp" #include "utils/godot_macros.h" namespace godot { void Level3D::_bind_methods() { #define CLASSNAME Level3D GDPROPERTY_HINTED(game_mode_prototype, Variant::OBJECT, PROPERTY_HINT_RESOURCE_TYPE, "GameMode"); } void Level3D::set_game_mode_prototype(Ref prototype) { this->game_mode_prototype = prototype; } Ref Level3D::get_game_mode_prototype() const { return this->game_mode_prototype; } #undef CLASSNAME // Level3D void Level2D::_bind_methods() { #define CLASSNAME Level3D GDPROPERTY_HINTED(game_mode_prototype, Variant::OBJECT, PROPERTY_HINT_RESOURCE_TYPE, "GameMode"); } void Level2D::set_game_mode_prototype(Ref prototype) { this->game_mode_prototype = prototype; } Ref Level2D::get_game_mode_prototype() const { return this->game_mode_prototype; } }