2023-07-21 09:50:06 +00:00
|
|
|
/**
|
|
|
|
* bb_node.h
|
|
|
|
* =============================================================================
|
2024-03-21 20:38:57 +00:00
|
|
|
* Copyright 2021-2024 Serhii Snitsaruk
|
2023-07-21 09:50:06 +00:00
|
|
|
*
|
|
|
|
* Use of this source code is governed by an MIT-style
|
|
|
|
* license that can be found in the LICENSE file or at
|
|
|
|
* https://opensource.org/licenses/MIT.
|
|
|
|
* =============================================================================
|
|
|
|
*/
|
2022-10-20 16:26:46 +00:00
|
|
|
|
|
|
|
#ifndef BB_NODE_H
|
|
|
|
#define BB_NODE_H
|
|
|
|
|
|
|
|
#include "bb_param.h"
|
|
|
|
|
|
|
|
class BBNode : public BBParam {
|
|
|
|
GDCLASS(BBNode, BBParam);
|
|
|
|
|
2024-05-28 17:50:57 +00:00
|
|
|
protected:
|
|
|
|
static void _bind_methods() {}
|
|
|
|
|
2022-10-20 16:26:46 +00:00
|
|
|
public:
|
2024-05-18 11:37:24 +00:00
|
|
|
virtual Variant::Type get_type() const override { return Variant::NODE_PATH; }
|
2024-05-01 21:32:44 +00:00
|
|
|
virtual Variant get_value(Node *p_scene_root, const Ref<Blackboard> &p_blackboard, const Variant &p_default = Variant()) override;
|
2022-10-20 16:26:46 +00:00
|
|
|
};
|
|
|
|
|
2024-03-21 20:38:57 +00:00
|
|
|
#endif // BB_NODE_H
|