#ifndef RABBIT_H #define RABBIT_H #include "wabbit.h" using namespace std; class rabbit: public wabbit { public: rabbit(const terminal& init_t, unsigned init_x, unsigned init_y): wabbit {init_t, init_x, init_y, 'r'} {} //Override the virtual functions inherited from class wabbit. void decide(int *dx, int *dy) const; int hungry() const {return 0;} //no threat to anybody int bitter() const {return 0;} //tasty flesh }; #endif