2022-08-28 10:54:34 +00:00
|
|
|
/* limbo_string_names.h */
|
|
|
|
|
|
|
|
#ifndef LIMBO_STRING_NAMES_H
|
|
|
|
#define LIMBO_STRING_NAMES_H
|
|
|
|
|
|
|
|
#include "core/string_name.h"
|
|
|
|
#include "core/typedefs.h"
|
|
|
|
|
|
|
|
class LimboStringNames {
|
|
|
|
friend void register_limboai_types();
|
|
|
|
friend void unregister_limboai_types();
|
|
|
|
|
|
|
|
static LimboStringNames *singleton;
|
|
|
|
|
|
|
|
static void create() { singleton = memnew(LimboStringNames); }
|
|
|
|
static void free() {
|
|
|
|
memdelete(singleton);
|
|
|
|
singleton = nullptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
LimboStringNames();
|
|
|
|
|
|
|
|
public:
|
|
|
|
_FORCE_INLINE_ static LimboStringNames *get_singleton() { return singleton; }
|
|
|
|
|
|
|
|
StringName _generate_name;
|
|
|
|
StringName _setup;
|
|
|
|
StringName _enter;
|
|
|
|
StringName _exit;
|
|
|
|
StringName _tick;
|
2022-08-30 16:48:49 +00:00
|
|
|
StringName behavior_tree_finished;
|
2022-08-28 10:54:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LIMBO_STRING_NAMES_H
|