GP terminal, moves the ant one square ahead. More...
#include <MoveAhead.h>
Public Member Functions | |
| void | execute (void *evalOp, Tree::Tree &tree) |
| Execute the primitive. | |
GP terminal, moves the ant one square ahead.
Definition at line 8 of file MoveAhead.h.
| void MoveAhead::execute | ( | void * | result, | |
| Tree::Tree & | tree | |||
| ) | [inline, virtual] |
Execute the primitive.
Function primitives gather arguments and return a value; terminal primitives return current value.
Implements Tree::Primitives::Primitive.
Definition at line 17 of file MoveAhead.h.
1.7.1