⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 goal_hitswitch.h

📁 很好游戏代码
💻 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 + -