www.pudn.com > Product_Submit2004.rar > LOCWMChal.h, change:2004-04-22,size:677b


#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