limboai/bt/tasks/actions/bt_fail.h

25 lines
607 B
C++

/**
* bt_fail.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_FAIL_H
#define BT_FAIL_H
#include "../bt_action.h"
class BTFail : public BTAction {
GDCLASS(BTFail, BTAction);
TASK_CATEGORY(Actions);
protected:
virtual int _tick(double p_delta) override;
};
#endif // BT_FAIL_H