entity_spell_system/entities/entity_resource.h
Relintai f1194ab218 -Added rage, and energy stat.
-Added class resource support.
-Fixed bugs related to auras.
2019-06-22 23:28:36 +02:00

29 lines
434 B
C++

#ifndef ENTITY_RESOURCE_H
#define ENTITY_RESOURCE_H
#include "core/reference.h"
class EntityResource : public Reference {
GDCLASS(EntityResource, Reference);
public:
bool get_dirty();
void set_dirty(bool value);
bool get_should_process();
void set_should_process(bool value);
void process(float delta);
EntityResource();
protected:
static void _bind_methods();
private:
bool _dirty;
bool _should_process;
};
#endif