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

📄 regionplayer.h

📁 该文件是包含了机器人足球比赛中的整个系统的代码
💻 H
字号:
#ifndef REGIONPLAYER_H
#define REGIONPLAYER_H

#include "Dude.h"
#include "../TOOLS/Utilities.h"
#include "../TOOLS/KickSelecta.h"

class RegionPlayer : public Dude {
public:
	RegionPlayer();
  ~RegionPlayer();

	virtual void NewReadyModel();
	virtual void NewPlayingModel();

private:
  bool IsBallVisible();
  bool IsBallWithinChaseBounds();
  bool IsSelfWithinChaseBounds();

  bool inPlaying;
  Utilities utils;
  KickSelecta ks;

  bool debugOutput;

  int chaseUpperX;
  int chaseUpperY;
  int chaseLowerX;
  int chaseLowerY;

  int homeX;
  int homeY;
  int homeRadius;
  int homeErrorDistance;
};

#endif // REGIONPLAYER_H

⌨️ 快捷键说明

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