• Main Page
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List

D:/Projekt/ECF_trunk/examples/GPMaze/TurnLeft.h

00001 #include "AgentEvalOp.h"
00002 
00003 
00004 class TurnLeft : public Tree::Primitives::Primitive
00005 {
00006 public:
00007     
00008     TurnLeft()
00009     {
00010         nArguments_ = 0;
00011         name_ = "left";
00012     }
00013 
00014     void execute(void* evalOp, Tree::Tree& tree)
00015     {
00016         
00017         AgentEvalOp* ant = (AgentEvalOp*) evalOp;
00018         
00019         ant->turnLeft();
00020     }
00021 
00022     ~TurnLeft()
00023     {   }
00024 };

Generated on Fri Jul 13 2012 10:53:29 for ECF by  doxygen 1.7.1