/* Project: coevolutionary GP moto driving Dana Vrajitoru driver_behave.cc The class that handles behavior for the driver. **/ #include "driver_behave.h" // Constructor: nothing to be done for now. Driver_behave::Driver_behave(float size) :Driver_animate(size) { set_frames(); } //Destructor: nothing to do for now. Driver_behave::~Driver_behave() {;} // Set the total number of frames to start an animation. void Driver_behave::set_frames(int frames_number) { current_frame = 0; all_frames = frames_number; } // Save the current position, rotation and angles. void Driver_behave::snapshot(int i) { for (int j=0; j