limboai/bt/tasks/decorators/bt_invert.h

28 lines
668 B
C++

/**
* bt_invert.h
* =============================================================================
* Copyright 2021-2024 Serhii Snitsaruk
*
* 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.
* =============================================================================
*/
#ifndef BT_INVERT_H
#define BT_INVERT_H
#include "../bt_decorator.h"
class BTInvert : public BTDecorator {
GDCLASS(BTInvert, BTDecorator);
TASK_CATEGORY(Decorators);
protected:
static void _bind_methods() {}
virtual Status _tick(double p_delta) override;
};
#endif // BT_INVERT_H