limboai/bt/composites/bt_sequence.h

20 lines
354 B
C
Raw Normal View History

2022-08-28 10:54:34 +00:00
/* bt_sequence.h */
#ifndef BT_SEQUENCE_H
#define BT_SEQUENCE_H
2022-09-29 22:17:32 +00:00
#include "bt_composite.h"
#include "core/object/object.h"
2022-08-28 10:54:34 +00:00
class BTSequence : public BTComposite {
GDCLASS(BTSequence, BTComposite);
private:
int last_running_idx = 0;
protected:
virtual void _enter() override;
virtual int _tick(double p_delta) override;
2022-08-28 10:54:34 +00:00
};
#endif // BT_SEQUENCE_H