limboai/bt/composites/bt_sequence.h

20 lines
328 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"
2022-08-28 10:54:34 +00:00
#include "core/object.h"
class BTSequence : public BTComposite {
GDCLASS(BTSequence, BTComposite);
private:
int last_running_idx = 0;
protected:
virtual void _enter();
virtual int _tick(float p_delta);
};
#endif // BT_SEQUENCE_H