2022-10-20 16:26:46 +00:00
|
|
|
/* bb_node.h */
|
|
|
|
|
|
|
|
#ifndef BB_NODE_H
|
|
|
|
#define BB_NODE_H
|
|
|
|
|
|
|
|
#include "bb_param.h"
|
2022-12-15 07:26:52 +00:00
|
|
|
#include "core/object/object.h"
|
2022-10-20 16:26:46 +00:00
|
|
|
|
|
|
|
class BBNode : public BBParam {
|
|
|
|
GDCLASS(BBNode, BBParam);
|
|
|
|
|
|
|
|
protected:
|
2022-12-15 07:26:52 +00:00
|
|
|
virtual Variant::Type get_type() const override { return Variant::NODE_PATH; }
|
2022-10-20 16:26:46 +00:00
|
|
|
|
|
|
|
public:
|
2022-12-15 07:26:52 +00:00
|
|
|
virtual Variant get_value(Object *p_agent, const Ref<Blackboard> &p_blackboard, const Variant &p_default = Variant()) override;
|
2022-10-20 16:26:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // BB_NODE_H
|