📄 locwmchal.h
字号:
#ifndef LOCWMChal_H
#define LOCWMChal_H
#include "Dude.h"
#include "../TOOLS/Utilities.h"
#include "../TOOLS/KickSelecta.h"
#define NUMPOINTS 1
class LOCWMChal : public Dude {
public:
LOCWMChal();
~LOCWMChal();
virtual void NewReadyModel();
virtual void NewPlayingModel();
void CalculateOptimalPath(int x, int y);
double GetDistance(int x, int y, int x2, int y2);
private:
bool IsBallVisible();
bool inPlaying;
Utilities utils;
KickSelecta ks;
bool debugOutput;
int posX[NUMPOINTS];
int posY[NUMPOINTS];
int currentIndex;
double errorDistance;
int numSpins;
int maxSpins;
};
#endif //LOCWMChal_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -