home *** CD-ROM | disk | FTP | other *** search
/ AI Game Programming Wisdom / AIGameProgrammingWisdom.iso / SourceCode / 11 Learning / 01 Manslow / GPExample / CGPIsFoodNode.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-07  |  401 b   |  23 lines

  1. //GPExample
  2. //Copyright John Manslow
  3. //29/09/2001
  4.  
  5. #ifndef _GPIsFoodNode_
  6. #define _GPIsFoodNode_
  7.  
  8. #include "CGPTerminalNode.h"
  9.  
  10. class CGP;
  11.  
  12. //See inherited class for comments
  13. class CGPIsFoodNode : public CGPTerminalNode
  14. {
  15. public:
  16.     CGPIsFoodNode();
  17.     ~CGPIsFoodNode();
  18.     virtual CGPNode *pGetCopy(CGP*);
  19.     virtual double dEvaluate(void);
  20.     virtual char *psGetString(char*);
  21. };
  22.  
  23. #endif