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

📄 strategysystem.h

📁 武汉工程大学仿真机器人足球11对11组的代码
💻 H
字号:
// StrategySystem.h
#include "general.h"

#ifndef _INSIDE_VISUAL_CPP_STRATEGYSYSTEM
#define _INSIDE_VISUAL_CPP_STRATEGYSYSTEM

class CStrategySystem : public CObject
{
    DECLARE_DYNAMIC(CStrategySystem)
public:
	void Action();
    ~CStrategySystem();
	CStrategySystem(int id);
    void ReceiveData(Robot1 bal,Robot2 ho1,Robot2 ho2,Robot2 ho3,Robot2 ho4,
		             Robot2 ho5,Robot2 ho6,Robot2 ho7,Robot2 ho8,Robot2 ho9,
					 Robot2 ho10,Robot2 hgo,Robot3 opp);

#ifdef _DEBUG
#endif // _DEBUG
private:
	void Position(int which, CPoint point);

	void Line(int which);
	void NormalGame();
	void Velocity(int which, int vL, int vR);
	void Angle(int which, int desired_angle);
	CRect       boundRect;     
	int m_nStrategy;
	int         m_OurTeam;  
	int         m_nGameArea;    
	
	CCommand C_Home3;
	CCommand C_Home2;
	CCommand C_Home1;
	CCommand C_Home4;
	CCommand C_Home5;
	CCommand C_Home6;
	CCommand C_Home7;
	CCommand C_Home8;
	CCommand C_Home9;
	CCommand C_Home10;
	CCommand C_Home11;
	Robot1 ball;
	Robot2 home1,home2,home3,home4,home5,home6,home7,home8,home9,home10,hgoalie;
	Robot3 opponent;
	//unsigned char command[11]; 
	void Think();
	void NormalGame5();
	void NormalGame4();
	void NormalGame3();
	void NormalGame2();
	void NormalGame1();
public:
	void Circle(int which);
	int command[35]; 
	
};

#endif // _INSIDE_VISUAL_CPP_STRATEGYSYSTEM

⌨️ 快捷键说明

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