feat: started designing monarchist camp locale
This commit is contained in:
parent
8d07ee03fa
commit
80a948686f
21 changed files with 1102 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
void LocaleMarker::_bind_methods() {
|
||||
BIND_HPROPERTY(Variant::STRING, locale_scene, PROPERTY_HINT_FILE, "*.tscn,*.scn");
|
||||
BIND_PROPERTY(Variant::STRING, entrance_path);
|
||||
}
|
||||
|
||||
void LocaleMarker::_notification(int what) {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
#include "register_types.h"
|
||||
|
||||
#include "authority/game_state.h"
|
||||
#include "authority/locale_marker.h"
|
||||
#include "core/config/engine.h"
|
||||
#include "core/object/class_db.h"
|
||||
|
||||
|
|
@ -11,6 +12,7 @@ void initialize_authority_module(ModuleInitializationLevel p_level) {
|
|||
return;
|
||||
}
|
||||
GDREGISTER_CLASS(GameState);
|
||||
GDREGISTER_CLASS(LocaleMarker);
|
||||
|
||||
game_state = memnew(GameState);
|
||||
Engine::get_singleton()->add_singleton(Engine::Singleton("GameState", GameState::get_singleton()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue