26 lines
733 B
C++
26 lines
733 B
C++
#pragma once
|
|
|
|
#include "behaviour_nodes/behaviour_composite.h"
|
|
#include "behaviour_nodes/behaviour_node.h"
|
|
#include "core/variant/variant.h"
|
|
|
|
class BehaviourAlwaysSuccess : public BehaviourComposite {
|
|
GDCLASS(BehaviourAlwaysSuccess, BehaviourComposite);
|
|
static void _bind_methods() {}
|
|
|
|
public:
|
|
PackedStringArray get_configuration_warnings() const override;
|
|
void execute() override;
|
|
BehaviourNode *get_next() override;
|
|
};
|
|
|
|
class BehaviourInvertResult : public BehaviourComposite {
|
|
GDCLASS(BehaviourInvertResult, BehaviourComposite);
|
|
static void _bind_methods() {}
|
|
|
|
public:
|
|
PackedStringArray get_configuration_warnings() const override;
|
|
void enter() override;
|
|
void execute() override;
|
|
BehaviourNode *get_next() override;
|
|
};
|