defender.h

来自「FIRA 5V5比赛中一个机器人源代码 本科毕业设计做的」· C头文件 代码 · 共 35 行

H
35
字号
// Defender.h: interface for the CDefender class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DEFENDER_H__BAF12E85_051B_41E0_881B_112F4D5A1459__INCLUDED_)
#define AFX_DEFENDER_H__BAF12E85_051B_41E0_881B_112F4D5A1459__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "BasicAction.h"



class CDefender : public CBasicAction
{
public:
	CDefender(Environment *envPointer);
	void blockInFrontOfGoal(int whichRobot1, int whichRobot2);
	void blockWhenBallNearGoal(int whichRobot, int spinDirection);
	void lexDefenderNormal(Environment *env, int whichRobot1, int whichRobot2);
	void freeKickDefender(Environment *env, int whichRobot1, int whichRobot2);

	virtual ~CDefender();

private:

	Vector3D guardPosition;

};

#endif // !defined(AFX_DEFENDER_H__BAF12E85_051B_41E0_881B_112F4D5A1459__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?