entity_spell_system/entities/resources/entity_resource_data.h

33 lines
552 B
C
Raw Normal View History

#ifndef ENTITY_RESOURCE_DATA_H
#define ENTITY_RESOURCE_DATA_H
#include "core/resource.h"
#include "core/ustring.h"
2019-12-01 18:00:09 +01:00
class EntityResource;
class EntityResourceData : public Resource {
GDCLASS(EntityResourceData, Resource);
public:
int get_id() const;
void set_id(const int value);
String get_text_description() const;
void set_text_description(const String value);
Ref<EntityResource> get_entity_resource_instance();
EntityResourceData();
protected:
static void _bind_methods();
private:
int _id;
String _text_description;
};
#endif