26 lines
612 B
C++
26 lines
612 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"
|
|
|
|
#include "core/object/object.h"
|
|
|
|
class BTFail : public BTAction {
|
|
GDCLASS(BTFail, BTAction);
|
|
|
|
protected:
|
|
virtual int _tick(double p_delta) override;
|
|
};
|
|
|
|
#endif // BT_FAIL_H
|