📄 goal_gotonode.h
字号:
class PathNode;
class TAI;
class Goal_GotoNode : public Goal, public GoalQueue
{
public:
Goal_GotoNode( AI* pAI, const PathNode *destination,
bool bForceDirectPath = false );
virtual ~Goal_GotoNode();
// Update the goal
virtual void Update( float secs_elapsed );
virtual bool Success();
virtual bool ReplanSubgoals();
const PathNode* GetDestinationNode() { return node; }
protected:
bool active;
float stuckTimer;
const PathNode *node;
bool directPath;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -