limboai/util/limbo_utility.h

28 lines
594 B
C++

/* limbo_utility.h */
#ifndef LIMBO_UTILITY_H
#define LIMBO_UTILITY_H
#include "core/object/class_db.h"
#include "core/object/object.h"
#include "scene/resources/texture.h"
class LimboUtility : public Object {
GDCLASS(LimboUtility, Object);
protected:
static LimboUtility *singleton;
static void _bind_methods();
public:
static LimboUtility *get_singleton();
String decorate_var(String p_variable) const;
String get_status_name(int p_status) const;
Ref<Texture2D> get_task_icon(String p_class_or_script_path) const;
LimboUtility();
~LimboUtility();
};
#endif // LIMBO_UTILITY_H