feat: registered GameMode
parent
0318fb9746
commit
64dd088491
|
@ -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" {
|
||||||
|
|
Loading…
Reference in New Issue