2022-08-28 10:54:34 +00:00
|
|
|
/* limbo_utility.h */
|
|
|
|
|
|
|
|
#ifndef LIMBO_UTILITY_H
|
|
|
|
#define LIMBO_UTILITY_H
|
|
|
|
|
2022-12-15 07:26:52 +00:00
|
|
|
#include "core/object/class_db.h"
|
|
|
|
#include "core/object/object.h"
|
2022-08-28 10:54:34 +00:00
|
|
|
|
|
|
|
class LimboUtility : public Object {
|
|
|
|
GDCLASS(LimboUtility, Object);
|
|
|
|
|
|
|
|
protected:
|
2022-09-21 21:56:04 +00:00
|
|
|
static LimboUtility *singleton;
|
2022-08-28 10:54:34 +00:00
|
|
|
static void _bind_methods();
|
|
|
|
|
|
|
|
public:
|
2022-09-21 21:56:04 +00:00
|
|
|
static LimboUtility *get_singleton();
|
|
|
|
|
2022-11-01 13:03:20 +00:00
|
|
|
String decorate_var(String p_variable) const;
|
|
|
|
String get_status_name(int p_status) const;
|
2022-09-21 21:56:04 +00:00
|
|
|
|
|
|
|
LimboUtility();
|
|
|
|
~LimboUtility();
|
2022-08-28 10:54:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LIMBO_UTILITY_H
|