limboai/bt/tasks/decorators/bt_invert.h

26 lines
635 B
C++

/**
* bt_invert.h
* =============================================================================
* Copyright 2021-2023 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:
virtual Status _tick(double p_delta) override;
};
#endif // BT_INVERT_H