#ifndef WOLF_H #define WOLF_H #include //for class numeric_limits #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 numeric_limits::max();} int bitter() const {return numeric_limits::max();} }; #endif