?? goal_followlink.h
字號:
#include "Goal.h"
class PathNode;
class AI;
class Goal_FollowLink : public Goal, public GoalQueue
{
public:
enum LinkType { Normal, Jump, JumpOverGap, Shimmy, MaxLinkTypes };
Goal_FollowLink( AI* pAI, const PathLink *pathlink);
virtual ~Goal_FollowLink();
virtual bool Success();
// Update the goal
virtual void Update( float secs_elapsed );
void DoLedgeShimmy();
void DoJumpOverGap();
float ExpectedLinkSpeed() const;
protected:
bool active;
bool jumped;
float stuckTimer;
bool TooFarBelowLink(const CVector& curPos) const;
const PathLink *link;
LinkType linkType;
};
#endif // _Goal_FollowLink_H_
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -