Compare commits
2 Commits
dbb89e6883
...
5f5ecc2db1
Author | SHA1 | Date |
---|---|---|
Serhii Snitsaruk | 5f5ecc2db1 | |
Serhii Snitsaruk | 361eb3eb15 |
|
@ -18,6 +18,8 @@ class BBAabb : public BBParam {
|
|||
GDCLASS(BBAabb, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::AABB; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBArray : public BBParam {
|
|||
GDCLASS(BBArray, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::ARRAY; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBBasis : public BBParam {
|
|||
GDCLASS(BBBasis, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::BASIS; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBBool : public BBParam {
|
|||
GDCLASS(BBBool, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::BOOL; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBByteArray : public BBParam {
|
|||
GDCLASS(BBByteArray, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::PACKED_BYTE_ARRAY; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBColor : public BBParam {
|
|||
GDCLASS(BBColor, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::COLOR; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBColorArray : public BBParam {
|
|||
GDCLASS(BBColorArray, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::PACKED_COLOR_ARRAY; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBDictionary : public BBParam {
|
|||
GDCLASS(BBDictionary, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::DICTIONARY; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBFloat : public BBParam {
|
|||
GDCLASS(BBFloat, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::FLOAT; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBFloat32Array : public BBParam {
|
|||
GDCLASS(BBFloat32Array, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::PACKED_FLOAT32_ARRAY; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBFloat64Array : public BBParam {
|
|||
GDCLASS(BBFloat64Array, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::PACKED_FLOAT64_ARRAY; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBInt : public BBParam {
|
|||
GDCLASS(BBInt, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::INT; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBInt32Array : public BBParam {
|
|||
GDCLASS(BBInt32Array, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::PACKED_INT32_ARRAY; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBInt64Array : public BBParam {
|
|||
GDCLASS(BBInt64Array, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::PACKED_INT64_ARRAY; }
|
||||
};
|
||||
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
class BBNode : public BBParam {
|
||||
GDCLASS(BBNode, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
public:
|
||||
virtual Variant::Type get_type() const override { return Variant::NODE_PATH; }
|
||||
virtual Variant get_value(Node *p_scene_root, const Ref<Blackboard> &p_blackboard, const Variant &p_default = Variant()) override;
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBPlane : public BBParam {
|
|||
GDCLASS(BBPlane, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::PLANE; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBProjection : public BBParam {
|
|||
GDCLASS(BBProjection, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::PROJECTION; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBQuaternion : public BBParam {
|
|||
GDCLASS(BBQuaternion, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::QUATERNION; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBRect2 : public BBParam {
|
|||
GDCLASS(BBRect2, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::RECT2; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBRect2i : public BBParam {
|
|||
GDCLASS(BBRect2i, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::RECT2I; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBString : public BBParam {
|
|||
GDCLASS(BBString, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::STRING; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBStringArray : public BBParam {
|
|||
GDCLASS(BBStringArray, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::PACKED_STRING_ARRAY; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBStringName : public BBParam {
|
|||
GDCLASS(BBStringName, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::STRING_NAME; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBTransform2D : public BBParam {
|
|||
GDCLASS(BBTransform2D, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::TRANSFORM2D; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBTransform3D : public BBParam {
|
|||
GDCLASS(BBTransform3D, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::TRANSFORM3D; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBVector2 : public BBParam {
|
|||
GDCLASS(BBVector2, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::VECTOR2; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBVector2Array : public BBParam {
|
|||
GDCLASS(BBVector2Array, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::PACKED_VECTOR2_ARRAY; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBVector2i : public BBParam {
|
|||
GDCLASS(BBVector2i, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::VECTOR2I; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBVector3 : public BBParam {
|
|||
GDCLASS(BBVector3, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::VECTOR3; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBVector3Array : public BBParam {
|
|||
GDCLASS(BBVector3Array, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::PACKED_VECTOR3_ARRAY; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBVector3i : public BBParam {
|
|||
GDCLASS(BBVector3i, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::VECTOR3I; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBVector4 : public BBParam {
|
|||
GDCLASS(BBVector4, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::VECTOR4; }
|
||||
};
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class BBVector4i : public BBParam {
|
|||
GDCLASS(BBVector4i, BBParam);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Variant::Type get_type() const override { return Variant::VECTOR4I; }
|
||||
};
|
||||
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
class BTAction : public BTTask {
|
||||
GDCLASS(BTAction, BTTask);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
public:
|
||||
virtual PackedStringArray get_configuration_warnings() override;
|
||||
};
|
||||
|
|
|
@ -18,6 +18,9 @@ class BTComment : public BTTask {
|
|||
GDCLASS(BTComment, BTTask);
|
||||
TASK_CATEGORY(Utility);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
public:
|
||||
virtual Ref<BTTask> clone() const override;
|
||||
virtual PackedStringArray get_configuration_warnings() override;
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
class BTComposite : public BTTask {
|
||||
GDCLASS(BTComposite, BTTask);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
public:
|
||||
virtual PackedStringArray get_configuration_warnings() override;
|
||||
};
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
class BTCondition : public BTTask {
|
||||
GDCLASS(BTCondition, BTTask);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
public:
|
||||
virtual PackedStringArray get_configuration_warnings() override;
|
||||
};
|
||||
|
|
|
@ -18,6 +18,8 @@ class BTDecorator : public BTTask {
|
|||
GDCLASS(BTDecorator, BTTask)
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Status _tick(double p_delta) override;
|
||||
|
||||
public:
|
||||
|
|
|
@ -22,6 +22,8 @@ private:
|
|||
int last_running_idx = 0;
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual void _enter() override;
|
||||
virtual Status _tick(double p_delta) override;
|
||||
};
|
||||
|
|
|
@ -22,6 +22,8 @@ private:
|
|||
int last_running_idx = 0;
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual void _enter() override;
|
||||
virtual Status _tick(double p_delta) override;
|
||||
};
|
||||
|
|
|
@ -23,6 +23,8 @@ private:
|
|||
Array indicies;
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual void _enter() override;
|
||||
virtual Status _tick(double p_delta) override;
|
||||
};
|
||||
|
|
|
@ -23,6 +23,8 @@ private:
|
|||
Array indicies;
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual void _enter() override;
|
||||
virtual Status _tick(double p_delta) override;
|
||||
};
|
||||
|
|
|
@ -22,6 +22,8 @@ private:
|
|||
int last_running_idx = 0;
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual void _enter() override;
|
||||
virtual Status _tick(double p_delta) override;
|
||||
};
|
||||
|
|
|
@ -22,6 +22,8 @@ private:
|
|||
int last_running_idx = 0;
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual void _enter() override;
|
||||
virtual Status _tick(double p_delta) override;
|
||||
};
|
||||
|
|
|
@ -19,6 +19,8 @@ class BTAlwaysFail : public BTDecorator {
|
|||
TASK_CATEGORY(Decorators);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Status _tick(double p_delta) override;
|
||||
};
|
||||
|
||||
|
|
|
@ -19,6 +19,8 @@ class BTAlwaysSucceed : public BTDecorator {
|
|||
TASK_CATEGORY(Decorators);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Status _tick(double p_delta) override;
|
||||
};
|
||||
|
||||
|
|
|
@ -19,6 +19,8 @@ class BTInvert : public BTDecorator {
|
|||
TASK_CATEGORY(Decorators);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Status _tick(double p_delta) override;
|
||||
};
|
||||
|
||||
|
|
|
@ -19,6 +19,8 @@ class BTRepeatUntilFailure : public BTDecorator {
|
|||
TASK_CATEGORY(Decorators);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Status _tick(double p_delta) override;
|
||||
};
|
||||
|
||||
|
|
|
@ -19,6 +19,8 @@ class BTRepeatUntilSuccess : public BTDecorator {
|
|||
TASK_CATEGORY(Decorators);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Status _tick(double p_delta) override;
|
||||
};
|
||||
|
||||
|
|
|
@ -19,6 +19,8 @@ class BTFail : public BTAction {
|
|||
TASK_CATEGORY(Utility);
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
virtual Status _tick(double p_delta) override;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue