📄 test.h
字号:
// Test.h: interface for the CTest class.
//
//////////////////////////////////////////////////////////////////////
#include "strategy.h" //include strategy header
#if !defined(AFX_TEST_H__37F5952B_B178_4FDF_9D6C_D495A955F5E4__INCLUDED_)
#define AFX_TEST_H__37F5952B_B178_4FDF_9D6C_D495A955F5E4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CTest
{
public:
CTest(Environment *envPointer, UserDefStruct *UserDataPointer);
virtual ~CTest();
//declare fuction phototype
void Spin();
void Test(int WhichRobot);
bool Push(int WhichRobot);
int Direction(Robot *robot);
double Predict_Ball(int WhichRobot);
double Gradient(Vector3D p1, Vector3D p2);
void Trap_Ball(int WhichRobot, int WhichRobot2);
void Penalty_Kick(int WhichRobot);
void Goalie (int Which_Robot);
//User Used Variable
UserDefStruct *UserData;
Environment *env;
};
#endif // !defined(AFX_TEST_H__37F5952B_B178_4FDF_9D6C_D495A955F5E4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -