12 lines
258 B
C++
12 lines
258 B
C++
#pragma once
|
|
#include "BehaviourTreeNode.h"
|
|
class IfHealthBelow :
|
|
public BehaviourTreeNode {
|
|
int healthBelow;
|
|
public:
|
|
IfHealthBelow(BehaviourTreeNode* root, int healthBelow);
|
|
~IfHealthBelow();
|
|
BehaviourTreeStatus tick(BTTick* tick);
|
|
};
|
|
|