Merge pull request #123 from limbonaut/fix-compilation-errors-with-new-godotcpp
Fix compile-time errors with updated godot-cpp
This commit is contained in:
commit
5f5ecc2db1
|
@ -18,6 +18,8 @@ class BBAabb : public BBParam {
|
||||||
GDCLASS(BBAabb, BBParam);
|
GDCLASS(BBAabb, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::AABB; }
|
virtual Variant::Type get_type() const override { return Variant::AABB; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBArray : public BBParam {
|
||||||
GDCLASS(BBArray, BBParam);
|
GDCLASS(BBArray, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::ARRAY; }
|
virtual Variant::Type get_type() const override { return Variant::ARRAY; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBBasis : public BBParam {
|
||||||
GDCLASS(BBBasis, BBParam);
|
GDCLASS(BBBasis, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::BASIS; }
|
virtual Variant::Type get_type() const override { return Variant::BASIS; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBBool : public BBParam {
|
||||||
GDCLASS(BBBool, BBParam);
|
GDCLASS(BBBool, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::BOOL; }
|
virtual Variant::Type get_type() const override { return Variant::BOOL; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBByteArray : public BBParam {
|
||||||
GDCLASS(BBByteArray, BBParam);
|
GDCLASS(BBByteArray, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::PACKED_BYTE_ARRAY; }
|
virtual Variant::Type get_type() const override { return Variant::PACKED_BYTE_ARRAY; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBColor : public BBParam {
|
||||||
GDCLASS(BBColor, BBParam);
|
GDCLASS(BBColor, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::COLOR; }
|
virtual Variant::Type get_type() const override { return Variant::COLOR; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBColorArray : public BBParam {
|
||||||
GDCLASS(BBColorArray, BBParam);
|
GDCLASS(BBColorArray, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::PACKED_COLOR_ARRAY; }
|
virtual Variant::Type get_type() const override { return Variant::PACKED_COLOR_ARRAY; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBDictionary : public BBParam {
|
||||||
GDCLASS(BBDictionary, BBParam);
|
GDCLASS(BBDictionary, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::DICTIONARY; }
|
virtual Variant::Type get_type() const override { return Variant::DICTIONARY; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBFloat : public BBParam {
|
||||||
GDCLASS(BBFloat, BBParam);
|
GDCLASS(BBFloat, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::FLOAT; }
|
virtual Variant::Type get_type() const override { return Variant::FLOAT; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBFloat32Array : public BBParam {
|
||||||
GDCLASS(BBFloat32Array, BBParam);
|
GDCLASS(BBFloat32Array, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::PACKED_FLOAT32_ARRAY; }
|
virtual Variant::Type get_type() const override { return Variant::PACKED_FLOAT32_ARRAY; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBFloat64Array : public BBParam {
|
||||||
GDCLASS(BBFloat64Array, BBParam);
|
GDCLASS(BBFloat64Array, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::PACKED_FLOAT64_ARRAY; }
|
virtual Variant::Type get_type() const override { return Variant::PACKED_FLOAT64_ARRAY; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBInt : public BBParam {
|
||||||
GDCLASS(BBInt, BBParam);
|
GDCLASS(BBInt, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::INT; }
|
virtual Variant::Type get_type() const override { return Variant::INT; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBInt32Array : public BBParam {
|
||||||
GDCLASS(BBInt32Array, BBParam);
|
GDCLASS(BBInt32Array, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::PACKED_INT32_ARRAY; }
|
virtual Variant::Type get_type() const override { return Variant::PACKED_INT32_ARRAY; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBInt64Array : public BBParam {
|
||||||
GDCLASS(BBInt64Array, BBParam);
|
GDCLASS(BBInt64Array, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::PACKED_INT64_ARRAY; }
|
virtual Variant::Type get_type() const override { return Variant::PACKED_INT64_ARRAY; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
class BBNode : public BBParam {
|
class BBNode : public BBParam {
|
||||||
GDCLASS(BBNode, BBParam);
|
GDCLASS(BBNode, BBParam);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual Variant::Type get_type() const override { return Variant::NODE_PATH; }
|
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;
|
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);
|
GDCLASS(BBPlane, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::PLANE; }
|
virtual Variant::Type get_type() const override { return Variant::PLANE; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBProjection : public BBParam {
|
||||||
GDCLASS(BBProjection, BBParam);
|
GDCLASS(BBProjection, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::PROJECTION; }
|
virtual Variant::Type get_type() const override { return Variant::PROJECTION; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBQuaternion : public BBParam {
|
||||||
GDCLASS(BBQuaternion, BBParam);
|
GDCLASS(BBQuaternion, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::QUATERNION; }
|
virtual Variant::Type get_type() const override { return Variant::QUATERNION; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBRect2 : public BBParam {
|
||||||
GDCLASS(BBRect2, BBParam);
|
GDCLASS(BBRect2, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::RECT2; }
|
virtual Variant::Type get_type() const override { return Variant::RECT2; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBRect2i : public BBParam {
|
||||||
GDCLASS(BBRect2i, BBParam);
|
GDCLASS(BBRect2i, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::RECT2I; }
|
virtual Variant::Type get_type() const override { return Variant::RECT2I; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBString : public BBParam {
|
||||||
GDCLASS(BBString, BBParam);
|
GDCLASS(BBString, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::STRING; }
|
virtual Variant::Type get_type() const override { return Variant::STRING; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBStringArray : public BBParam {
|
||||||
GDCLASS(BBStringArray, BBParam);
|
GDCLASS(BBStringArray, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::PACKED_STRING_ARRAY; }
|
virtual Variant::Type get_type() const override { return Variant::PACKED_STRING_ARRAY; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBStringName : public BBParam {
|
||||||
GDCLASS(BBStringName, BBParam);
|
GDCLASS(BBStringName, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::STRING_NAME; }
|
virtual Variant::Type get_type() const override { return Variant::STRING_NAME; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBTransform2D : public BBParam {
|
||||||
GDCLASS(BBTransform2D, BBParam);
|
GDCLASS(BBTransform2D, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::TRANSFORM2D; }
|
virtual Variant::Type get_type() const override { return Variant::TRANSFORM2D; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBTransform3D : public BBParam {
|
||||||
GDCLASS(BBTransform3D, BBParam);
|
GDCLASS(BBTransform3D, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::TRANSFORM3D; }
|
virtual Variant::Type get_type() const override { return Variant::TRANSFORM3D; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBVector2 : public BBParam {
|
||||||
GDCLASS(BBVector2, BBParam);
|
GDCLASS(BBVector2, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::VECTOR2; }
|
virtual Variant::Type get_type() const override { return Variant::VECTOR2; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBVector2Array : public BBParam {
|
||||||
GDCLASS(BBVector2Array, BBParam);
|
GDCLASS(BBVector2Array, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::PACKED_VECTOR2_ARRAY; }
|
virtual Variant::Type get_type() const override { return Variant::PACKED_VECTOR2_ARRAY; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBVector2i : public BBParam {
|
||||||
GDCLASS(BBVector2i, BBParam);
|
GDCLASS(BBVector2i, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::VECTOR2I; }
|
virtual Variant::Type get_type() const override { return Variant::VECTOR2I; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBVector3 : public BBParam {
|
||||||
GDCLASS(BBVector3, BBParam);
|
GDCLASS(BBVector3, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::VECTOR3; }
|
virtual Variant::Type get_type() const override { return Variant::VECTOR3; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBVector3Array : public BBParam {
|
||||||
GDCLASS(BBVector3Array, BBParam);
|
GDCLASS(BBVector3Array, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::PACKED_VECTOR3_ARRAY; }
|
virtual Variant::Type get_type() const override { return Variant::PACKED_VECTOR3_ARRAY; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBVector3i : public BBParam {
|
||||||
GDCLASS(BBVector3i, BBParam);
|
GDCLASS(BBVector3i, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::VECTOR3I; }
|
virtual Variant::Type get_type() const override { return Variant::VECTOR3I; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBVector4 : public BBParam {
|
||||||
GDCLASS(BBVector4, BBParam);
|
GDCLASS(BBVector4, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::VECTOR4; }
|
virtual Variant::Type get_type() const override { return Variant::VECTOR4; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BBVector4i : public BBParam {
|
||||||
GDCLASS(BBVector4i, BBParam);
|
GDCLASS(BBVector4i, BBParam);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Variant::Type get_type() const override { return Variant::VECTOR4I; }
|
virtual Variant::Type get_type() const override { return Variant::VECTOR4I; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
class BTAction : public BTTask {
|
class BTAction : public BTTask {
|
||||||
GDCLASS(BTAction, BTTask);
|
GDCLASS(BTAction, BTTask);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual PackedStringArray get_configuration_warnings() override;
|
virtual PackedStringArray get_configuration_warnings() override;
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,6 +18,9 @@ class BTComment : public BTTask {
|
||||||
GDCLASS(BTComment, BTTask);
|
GDCLASS(BTComment, BTTask);
|
||||||
TASK_CATEGORY(Utility);
|
TASK_CATEGORY(Utility);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual Ref<BTTask> clone() const override;
|
virtual Ref<BTTask> clone() const override;
|
||||||
virtual PackedStringArray get_configuration_warnings() override;
|
virtual PackedStringArray get_configuration_warnings() override;
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
class BTComposite : public BTTask {
|
class BTComposite : public BTTask {
|
||||||
GDCLASS(BTComposite, BTTask);
|
GDCLASS(BTComposite, BTTask);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual PackedStringArray get_configuration_warnings() override;
|
virtual PackedStringArray get_configuration_warnings() override;
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
class BTCondition : public BTTask {
|
class BTCondition : public BTTask {
|
||||||
GDCLASS(BTCondition, BTTask);
|
GDCLASS(BTCondition, BTTask);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual PackedStringArray get_configuration_warnings() override;
|
virtual PackedStringArray get_configuration_warnings() override;
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,6 +18,8 @@ class BTDecorator : public BTTask {
|
||||||
GDCLASS(BTDecorator, BTTask)
|
GDCLASS(BTDecorator, BTTask)
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Status _tick(double p_delta) override;
|
virtual Status _tick(double p_delta) override;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -22,6 +22,8 @@ private:
|
||||||
int last_running_idx = 0;
|
int last_running_idx = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual void _enter() override;
|
virtual void _enter() override;
|
||||||
virtual Status _tick(double p_delta) override;
|
virtual Status _tick(double p_delta) override;
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,6 +22,8 @@ private:
|
||||||
int last_running_idx = 0;
|
int last_running_idx = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual void _enter() override;
|
virtual void _enter() override;
|
||||||
virtual Status _tick(double p_delta) override;
|
virtual Status _tick(double p_delta) override;
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,6 +23,8 @@ private:
|
||||||
Array indicies;
|
Array indicies;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual void _enter() override;
|
virtual void _enter() override;
|
||||||
virtual Status _tick(double p_delta) override;
|
virtual Status _tick(double p_delta) override;
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,6 +23,8 @@ private:
|
||||||
Array indicies;
|
Array indicies;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual void _enter() override;
|
virtual void _enter() override;
|
||||||
virtual Status _tick(double p_delta) override;
|
virtual Status _tick(double p_delta) override;
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,6 +22,8 @@ private:
|
||||||
int last_running_idx = 0;
|
int last_running_idx = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual void _enter() override;
|
virtual void _enter() override;
|
||||||
virtual Status _tick(double p_delta) override;
|
virtual Status _tick(double p_delta) override;
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,6 +22,8 @@ private:
|
||||||
int last_running_idx = 0;
|
int last_running_idx = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual void _enter() override;
|
virtual void _enter() override;
|
||||||
virtual Status _tick(double p_delta) override;
|
virtual Status _tick(double p_delta) override;
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,6 +19,8 @@ class BTAlwaysFail : public BTDecorator {
|
||||||
TASK_CATEGORY(Decorators);
|
TASK_CATEGORY(Decorators);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Status _tick(double p_delta) override;
|
virtual Status _tick(double p_delta) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,8 @@ class BTAlwaysSucceed : public BTDecorator {
|
||||||
TASK_CATEGORY(Decorators);
|
TASK_CATEGORY(Decorators);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Status _tick(double p_delta) override;
|
virtual Status _tick(double p_delta) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,8 @@ class BTInvert : public BTDecorator {
|
||||||
TASK_CATEGORY(Decorators);
|
TASK_CATEGORY(Decorators);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Status _tick(double p_delta) override;
|
virtual Status _tick(double p_delta) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,8 @@ class BTRepeatUntilFailure : public BTDecorator {
|
||||||
TASK_CATEGORY(Decorators);
|
TASK_CATEGORY(Decorators);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Status _tick(double p_delta) override;
|
virtual Status _tick(double p_delta) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,8 @@ class BTRepeatUntilSuccess : public BTDecorator {
|
||||||
TASK_CATEGORY(Decorators);
|
TASK_CATEGORY(Decorators);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Status _tick(double p_delta) override;
|
virtual Status _tick(double p_delta) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,8 @@ class BTFail : public BTAction {
|
||||||
TASK_CATEGORY(Utility);
|
TASK_CATEGORY(Utility);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
static void _bind_methods() {}
|
||||||
|
|
||||||
virtual Status _tick(double p_delta) override;
|
virtual Status _tick(double p_delta) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue