#ifndef WOLF_H #define WOLF_H #include "wabbit.h" using namespace std; class wolf: public wabbit { public: wolf(const terminal& init_t, unsigned init_x, unsigned init_y): wabbit {init_t, init_x, init_y, 'W'} {} //Override the virtual functions inherited from class wabbit. void decide(int *dx, int *dy) const; void punish() const {beep();} //There is a guilty human. //A wolf is at the top of the food chain. int hungry() const {return 100;} int bitter() const {return 100;} //No one eats wolf flesh. }; #endif