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

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