feat: registered GameMode

main
Sara 2024-02-01 18:09:02 +01:00
parent 0318fb9746
commit 64dd088491
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@
#include "player.hpp" #include "player.hpp"
#include "level.hpp" #include "level.hpp"
#include "entrance.hpp" #include "entrance.hpp"
#include "game_mode.hpp"
using namespace godot; using namespace godot;
@ -17,6 +18,7 @@ void initialize_gdextension_types(ModuleInitializationLevel p_level) {
ClassDB::register_class<Player>(); ClassDB::register_class<Player>();
ClassDB::register_class<Level>(); ClassDB::register_class<Level>();
ClassDB::register_class<Entrance>(); ClassDB::register_class<Entrance>();
ClassDB::register_class<GameMode>();
} }
extern "C" { extern "C" {