#ifndef VISIONARYH #define VISIONARYH #include "wabbit.h" class visionary: public virtual wabbit { unsigned rad; //radius of vision protected: //because vision_avoidance will be derived from this and needs access void decide(int *dx, int *dy) const; public: visionary(game *initial_g, unsigned initial_x, unsigned initial_y, char initial_c, unsigned initial_rad = 3) : wabbit(initial_g, initial_x, initial_y, initial_c), rad(initial_rad) {} }; #endif