📄 goal_hitswitch.h
字号:
class Goal_HitSwitch : public Goal, public GoalQueue //for hitting a switch
{
public:
Goal_HitSwitch( AI* pAI, const PathNode *switchNode_);
virtual ~Goal_HitSwitch();
virtual bool Success();
//replan subgoals
virtual bool ReplanSubgoals();
// Update the goal
virtual void Update( float secs_elapsed );
protected:
const Switch *pSwitch;
bool active;
const PathNode *switchNode;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -